import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages an AWS Bedrock AgentCore Browser. Browser provides AI agents with web browsing capabilities, allowing them to navigate websites, extract information, and interact with web content in a controlled environment. * * ## Example Usage * * ### Basic Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = new aws.bedrock.AgentcoreBrowser("example", { * networkConfiguration: { * networkMode: "PUBLIC", * }, * name: "example-browser", * description: "Browser for web data extraction", * }); * ``` * * ### Browser with VPC Configuration * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const vpcExample = new aws.bedrock.AgentcoreBrowser("vpc_example", { * networkConfiguration: { * vpcConfig: { * securityGroups: ["sg-12345678"], * subnets: [ * "subnet-12345678", * "subnet-87654321", * ], * }, * networkMode: "VPC", * }, * name: "vpc-browser", * description: "Browser with VPC configuration", * }); * ``` * * ### Browser with Execution Role and Recording * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const assumeRole = aws.iam.getPolicyDocument({ * statements: [{ * principals: [{ * type: "Service", * identifiers: ["bedrock-agentcore.amazonaws.com"], * }], * effect: "Allow", * actions: ["sts:AssumeRole"], * }], * }); * const example = new aws.iam.Role("example", { * name: "bedrock-agentcore-browser-role", * assumeRolePolicy: assumeRole.then(assumeRole => assumeRole.json), * }); * const recording = new aws.s3.Bucket("recording", {bucket: "browser-recording-bucket"}); * const exampleAgentcoreBrowser = new aws.bedrock.AgentcoreBrowser("example", { * networkConfiguration: { * networkMode: "PUBLIC", * }, * recording: { * s3Location: { * bucket: recording.bucket, * prefix: "browser-sessions/", * }, * enabled: true, * }, * name: "example-browser", * description: "Browser with recording enabled", * executionRoleArn: example.arn, * }); * ``` * * ## Import * * Using `pulumi import`, import Bedrock AgentCore Browser using the browser ID. For example: * * ```sh * $ pulumi import aws:bedrock/agentcoreBrowser:AgentcoreBrowser example BROWSER1234567890 * ``` */ export declare class AgentcoreBrowser extends pulumi.CustomResource { /** * Get an existing AgentcoreBrowser resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AgentcoreBrowserState, opts?: pulumi.CustomResourceOptions): AgentcoreBrowser; /** * Returns true if the given object is an instance of AgentcoreBrowser. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AgentcoreBrowser; /** * ARN of the Browser. */ readonly browserArn: pulumi.Output; /** * Unique identifier of the Browser. */ readonly browserId: pulumi.Output; /** * Browser signing configuration that enables cryptographic agent identification using HTTP message signatures. See `browserSigning` below. */ readonly browserSigning: pulumi.Output; /** * Certificates to install in the browser. See `certificate` below. */ readonly certificates: pulumi.Output; /** * Description of the browser. */ readonly description: pulumi.Output; /** * Enterprise policy files to apply to the browser. See `enterprisePolicy` below. */ readonly enterprisePolicies: pulumi.Output; /** * ARN of the IAM role that the browser assumes for execution. */ readonly executionRoleArn: pulumi.Output; /** * Name of the browser. */ readonly name: pulumi.Output; /** * Network configuration for the browser. See `networkConfiguration` below. * * The following arguments are optional: */ readonly networkConfiguration: pulumi.Output; /** * Recording configuration for browser sessions. See `recording` below. */ readonly recording: pulumi.Output; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ readonly region: pulumi.Output; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ readonly tagsAll: pulumi.Output<{ [key: string]: string; }>; readonly timeouts: pulumi.Output; /** * Create a AgentcoreBrowser resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AgentcoreBrowserArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AgentcoreBrowser resources. */ export interface AgentcoreBrowserState { /** * ARN of the Browser. */ browserArn?: pulumi.Input; /** * Unique identifier of the Browser. */ browserId?: pulumi.Input; /** * Browser signing configuration that enables cryptographic agent identification using HTTP message signatures. See `browserSigning` below. */ browserSigning?: pulumi.Input; /** * Certificates to install in the browser. See `certificate` below. */ certificates?: pulumi.Input[] | undefined>; /** * Description of the browser. */ description?: pulumi.Input; /** * Enterprise policy files to apply to the browser. See `enterprisePolicy` below. */ enterprisePolicies?: pulumi.Input[] | undefined>; /** * ARN of the IAM role that the browser assumes for execution. */ executionRoleArn?: pulumi.Input; /** * Name of the browser. */ name?: pulumi.Input; /** * Network configuration for the browser. See `networkConfiguration` below. * * The following arguments are optional: */ networkConfiguration?: pulumi.Input; /** * Recording configuration for browser sessions. See `recording` below. */ recording?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. */ tagsAll?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a AgentcoreBrowser resource. */ export interface AgentcoreBrowserArgs { /** * Browser signing configuration that enables cryptographic agent identification using HTTP message signatures. See `browserSigning` below. */ browserSigning?: pulumi.Input; /** * Certificates to install in the browser. See `certificate` below. */ certificates?: pulumi.Input[] | undefined>; /** * Description of the browser. */ description?: pulumi.Input; /** * Enterprise policy files to apply to the browser. See `enterprisePolicy` below. */ enterprisePolicies?: pulumi.Input[] | undefined>; /** * ARN of the IAM role that the browser assumes for execution. */ executionRoleArn?: pulumi.Input; /** * Name of the browser. */ name?: pulumi.Input; /** * Network configuration for the browser. See `networkConfiguration` below. * * The following arguments are optional: */ networkConfiguration: pulumi.Input; /** * Recording configuration for browser sessions. See `recording` below. */ recording?: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; /** * Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; timeouts?: pulumi.Input; } //# sourceMappingURL=agentcoreBrowser.d.ts.map