1. Packages
  2. AWS
  3. API Docs
  4. bedrock
  5. AgentcoreBrowser
AWS v7.11.0 published on Wednesday, Nov 5, 2025 by Pulumi

aws.bedrock.AgentcoreBrowser

Start a Neo task
Explain and create an aws.bedrock.AgentcoreBrowser resource
aws logo
AWS v7.11.0 published on Wednesday, Nov 5, 2025 by Pulumi

    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

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.bedrock.AgentcoreBrowser("example", {
        name: "example-browser",
        description: "Browser for web data extraction",
        networkConfiguration: {
            networkMode: "PUBLIC",
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.bedrock.AgentcoreBrowser("example",
        name="example-browser",
        description="Browser for web data extraction",
        network_configuration={
            "network_mode": "PUBLIC",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := bedrock.NewAgentcoreBrowser(ctx, "example", &bedrock.AgentcoreBrowserArgs{
    			Name:        pulumi.String("example-browser"),
    			Description: pulumi.String("Browser for web data extraction"),
    			NetworkConfiguration: &bedrock.AgentcoreBrowserNetworkConfigurationArgs{
    				NetworkMode: pulumi.String("PUBLIC"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Bedrock.AgentcoreBrowser("example", new()
        {
            Name = "example-browser",
            Description = "Browser for web data extraction",
            NetworkConfiguration = new Aws.Bedrock.Inputs.AgentcoreBrowserNetworkConfigurationArgs
            {
                NetworkMode = "PUBLIC",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.bedrock.AgentcoreBrowser;
    import com.pulumi.aws.bedrock.AgentcoreBrowserArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreBrowserNetworkConfigurationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new AgentcoreBrowser("example", AgentcoreBrowserArgs.builder()
                .name("example-browser")
                .description("Browser for web data extraction")
                .networkConfiguration(AgentcoreBrowserNetworkConfigurationArgs.builder()
                    .networkMode("PUBLIC")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:bedrock:AgentcoreBrowser
        properties:
          name: example-browser
          description: Browser for web data extraction
          networkConfiguration:
            networkMode: PUBLIC
    

    Browser with Execution Role and Recording

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const assumeRole = aws.iam.getPolicyDocument({
        statements: [{
            effect: "Allow",
            actions: ["sts:AssumeRole"],
            principals: [{
                type: "Service",
                identifiers: ["bedrock-agentcore.amazonaws.com"],
            }],
        }],
    });
    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", {
        name: "example-browser",
        description: "Browser with recording enabled",
        executionRoleArn: example.arn,
        networkConfiguration: {
            networkMode: "PUBLIC",
        },
        recording: {
            enabled: true,
            s3Location: {
                bucket: recording.bucket,
                prefix: "browser-sessions/",
            },
        },
    });
    
    import pulumi
    import pulumi_aws as aws
    
    assume_role = aws.iam.get_policy_document(statements=[{
        "effect": "Allow",
        "actions": ["sts:AssumeRole"],
        "principals": [{
            "type": "Service",
            "identifiers": ["bedrock-agentcore.amazonaws.com"],
        }],
    }])
    example = aws.iam.Role("example",
        name="bedrock-agentcore-browser-role",
        assume_role_policy=assume_role.json)
    recording = aws.s3.Bucket("recording", bucket="browser-recording-bucket")
    example_agentcore_browser = aws.bedrock.AgentcoreBrowser("example",
        name="example-browser",
        description="Browser with recording enabled",
        execution_role_arn=example.arn,
        network_configuration={
            "network_mode": "PUBLIC",
        },
        recording={
            "enabled": True,
            "s3_location": {
                "bucket": recording.bucket,
                "prefix": "browser-sessions/",
            },
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/bedrock"
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/iam"
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/s3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
    			Statements: []iam.GetPolicyDocumentStatement{
    				{
    					Effect: pulumi.StringRef("Allow"),
    					Actions: []string{
    						"sts:AssumeRole",
    					},
    					Principals: []iam.GetPolicyDocumentStatementPrincipal{
    						{
    							Type: "Service",
    							Identifiers: []string{
    								"bedrock-agentcore.amazonaws.com",
    							},
    						},
    					},
    				},
    			},
    		}, nil)
    		if err != nil {
    			return err
    		}
    		example, err := iam.NewRole(ctx, "example", &iam.RoleArgs{
    			Name:             pulumi.String("bedrock-agentcore-browser-role"),
    			AssumeRolePolicy: pulumi.String(assumeRole.Json),
    		})
    		if err != nil {
    			return err
    		}
    		recording, err := s3.NewBucket(ctx, "recording", &s3.BucketArgs{
    			Bucket: pulumi.String("browser-recording-bucket"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = bedrock.NewAgentcoreBrowser(ctx, "example", &bedrock.AgentcoreBrowserArgs{
    			Name:             pulumi.String("example-browser"),
    			Description:      pulumi.String("Browser with recording enabled"),
    			ExecutionRoleArn: example.Arn,
    			NetworkConfiguration: &bedrock.AgentcoreBrowserNetworkConfigurationArgs{
    				NetworkMode: pulumi.String("PUBLIC"),
    			},
    			Recording: &bedrock.AgentcoreBrowserRecordingArgs{
    				Enabled: pulumi.Bool(true),
    				S3Location: &bedrock.AgentcoreBrowserRecordingS3LocationArgs{
    					Bucket: recording.Bucket,
    					Prefix: pulumi.String("browser-sessions/"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var assumeRole = Aws.Iam.GetPolicyDocument.Invoke(new()
        {
            Statements = new[]
            {
                new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs
                {
                    Effect = "Allow",
                    Actions = new[]
                    {
                        "sts:AssumeRole",
                    },
                    Principals = new[]
                    {
                        new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs
                        {
                            Type = "Service",
                            Identifiers = new[]
                            {
                                "bedrock-agentcore.amazonaws.com",
                            },
                        },
                    },
                },
            },
        });
    
        var example = new Aws.Iam.Role("example", new()
        {
            Name = "bedrock-agentcore-browser-role",
            AssumeRolePolicy = assumeRole.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
        });
    
        var recording = new Aws.S3.Bucket("recording", new()
        {
            BucketName = "browser-recording-bucket",
        });
    
        var exampleAgentcoreBrowser = new Aws.Bedrock.AgentcoreBrowser("example", new()
        {
            Name = "example-browser",
            Description = "Browser with recording enabled",
            ExecutionRoleArn = example.Arn,
            NetworkConfiguration = new Aws.Bedrock.Inputs.AgentcoreBrowserNetworkConfigurationArgs
            {
                NetworkMode = "PUBLIC",
            },
            Recording = new Aws.Bedrock.Inputs.AgentcoreBrowserRecordingArgs
            {
                Enabled = true,
                S3Location = new Aws.Bedrock.Inputs.AgentcoreBrowserRecordingS3LocationArgs
                {
                    Bucket = recording.BucketName,
                    Prefix = "browser-sessions/",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.iam.IamFunctions;
    import com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;
    import com.pulumi.aws.iam.Role;
    import com.pulumi.aws.iam.RoleArgs;
    import com.pulumi.aws.s3.Bucket;
    import com.pulumi.aws.s3.BucketArgs;
    import com.pulumi.aws.bedrock.AgentcoreBrowser;
    import com.pulumi.aws.bedrock.AgentcoreBrowserArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreBrowserNetworkConfigurationArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreBrowserRecordingArgs;
    import com.pulumi.aws.bedrock.inputs.AgentcoreBrowserRecordingS3LocationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var assumeRole = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
                .statements(GetPolicyDocumentStatementArgs.builder()
                    .effect("Allow")
                    .actions("sts:AssumeRole")
                    .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
                        .type("Service")
                        .identifiers("bedrock-agentcore.amazonaws.com")
                        .build())
                    .build())
                .build());
    
            var example = new Role("example", RoleArgs.builder()
                .name("bedrock-agentcore-browser-role")
                .assumeRolePolicy(assumeRole.json())
                .build());
    
            var recording = new Bucket("recording", BucketArgs.builder()
                .bucket("browser-recording-bucket")
                .build());
    
            var exampleAgentcoreBrowser = new AgentcoreBrowser("exampleAgentcoreBrowser", AgentcoreBrowserArgs.builder()
                .name("example-browser")
                .description("Browser with recording enabled")
                .executionRoleArn(example.arn())
                .networkConfiguration(AgentcoreBrowserNetworkConfigurationArgs.builder()
                    .networkMode("PUBLIC")
                    .build())
                .recording(AgentcoreBrowserRecordingArgs.builder()
                    .enabled(true)
                    .s3Location(AgentcoreBrowserRecordingS3LocationArgs.builder()
                        .bucket(recording.bucket())
                        .prefix("browser-sessions/")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:iam:Role
        properties:
          name: bedrock-agentcore-browser-role
          assumeRolePolicy: ${assumeRole.json}
      recording:
        type: aws:s3:Bucket
        properties:
          bucket: browser-recording-bucket
      exampleAgentcoreBrowser:
        type: aws:bedrock:AgentcoreBrowser
        name: example
        properties:
          name: example-browser
          description: Browser with recording enabled
          executionRoleArn: ${example.arn}
          networkConfiguration:
            networkMode: PUBLIC
          recording:
            enabled: true
            s3Location:
              bucket: ${recording.bucket}
              prefix: browser-sessions/
    variables:
      assumeRole:
        fn::invoke:
          function: aws:iam:getPolicyDocument
          arguments:
            statements:
              - effect: Allow
                actions:
                  - sts:AssumeRole
                principals:
                  - type: Service
                    identifiers:
                      - bedrock-agentcore.amazonaws.com
    

    Create AgentcoreBrowser Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AgentcoreBrowser(name: string, args?: AgentcoreBrowserArgs, opts?: CustomResourceOptions);
    @overload
    def AgentcoreBrowser(resource_name: str,
                         args: Optional[AgentcoreBrowserArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def AgentcoreBrowser(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         description: Optional[str] = None,
                         execution_role_arn: Optional[str] = None,
                         name: Optional[str] = None,
                         network_configuration: Optional[AgentcoreBrowserNetworkConfigurationArgs] = None,
                         recording: Optional[AgentcoreBrowserRecordingArgs] = None,
                         region: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         timeouts: Optional[AgentcoreBrowserTimeoutsArgs] = None)
    func NewAgentcoreBrowser(ctx *Context, name string, args *AgentcoreBrowserArgs, opts ...ResourceOption) (*AgentcoreBrowser, error)
    public AgentcoreBrowser(string name, AgentcoreBrowserArgs? args = null, CustomResourceOptions? opts = null)
    public AgentcoreBrowser(String name, AgentcoreBrowserArgs args)
    public AgentcoreBrowser(String name, AgentcoreBrowserArgs args, CustomResourceOptions options)
    
    type: aws:bedrock:AgentcoreBrowser
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AgentcoreBrowserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AgentcoreBrowserArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AgentcoreBrowserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AgentcoreBrowserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AgentcoreBrowserArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var agentcoreBrowserResource = new Aws.Bedrock.AgentcoreBrowser("agentcoreBrowserResource", new()
    {
        Description = "string",
        ExecutionRoleArn = "string",
        Name = "string",
        NetworkConfiguration = new Aws.Bedrock.Inputs.AgentcoreBrowserNetworkConfigurationArgs
        {
            NetworkMode = "string",
            NetworkModeConfig = new Aws.Bedrock.Inputs.AgentcoreBrowserNetworkConfigurationNetworkModeConfigArgs
            {
                SecurityGroups = new[]
                {
                    "string",
                },
                Subnets = new[]
                {
                    "string",
                },
            },
        },
        Recording = new Aws.Bedrock.Inputs.AgentcoreBrowserRecordingArgs
        {
            Enabled = false,
            S3Location = new Aws.Bedrock.Inputs.AgentcoreBrowserRecordingS3LocationArgs
            {
                Bucket = "string",
                Prefix = "string",
            },
        },
        Region = "string",
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Aws.Bedrock.Inputs.AgentcoreBrowserTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := bedrock.NewAgentcoreBrowser(ctx, "agentcoreBrowserResource", &bedrock.AgentcoreBrowserArgs{
    	Description:      pulumi.String("string"),
    	ExecutionRoleArn: pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	NetworkConfiguration: &bedrock.AgentcoreBrowserNetworkConfigurationArgs{
    		NetworkMode: pulumi.String("string"),
    		NetworkModeConfig: &bedrock.AgentcoreBrowserNetworkConfigurationNetworkModeConfigArgs{
    			SecurityGroups: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Subnets: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	Recording: &bedrock.AgentcoreBrowserRecordingArgs{
    		Enabled: pulumi.Bool(false),
    		S3Location: &bedrock.AgentcoreBrowserRecordingS3LocationArgs{
    			Bucket: pulumi.String("string"),
    			Prefix: pulumi.String("string"),
    		},
    	},
    	Region: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &bedrock.AgentcoreBrowserTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var agentcoreBrowserResource = new AgentcoreBrowser("agentcoreBrowserResource", AgentcoreBrowserArgs.builder()
        .description("string")
        .executionRoleArn("string")
        .name("string")
        .networkConfiguration(AgentcoreBrowserNetworkConfigurationArgs.builder()
            .networkMode("string")
            .networkModeConfig(AgentcoreBrowserNetworkConfigurationNetworkModeConfigArgs.builder()
                .securityGroups("string")
                .subnets("string")
                .build())
            .build())
        .recording(AgentcoreBrowserRecordingArgs.builder()
            .enabled(false)
            .s3Location(AgentcoreBrowserRecordingS3LocationArgs.builder()
                .bucket("string")
                .prefix("string")
                .build())
            .build())
        .region("string")
        .tags(Map.of("string", "string"))
        .timeouts(AgentcoreBrowserTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    agentcore_browser_resource = aws.bedrock.AgentcoreBrowser("agentcoreBrowserResource",
        description="string",
        execution_role_arn="string",
        name="string",
        network_configuration={
            "network_mode": "string",
            "network_mode_config": {
                "security_groups": ["string"],
                "subnets": ["string"],
            },
        },
        recording={
            "enabled": False,
            "s3_location": {
                "bucket": "string",
                "prefix": "string",
            },
        },
        region="string",
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const agentcoreBrowserResource = new aws.bedrock.AgentcoreBrowser("agentcoreBrowserResource", {
        description: "string",
        executionRoleArn: "string",
        name: "string",
        networkConfiguration: {
            networkMode: "string",
            networkModeConfig: {
                securityGroups: ["string"],
                subnets: ["string"],
            },
        },
        recording: {
            enabled: false,
            s3Location: {
                bucket: "string",
                prefix: "string",
            },
        },
        region: "string",
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: aws:bedrock:AgentcoreBrowser
    properties:
        description: string
        executionRoleArn: string
        name: string
        networkConfiguration:
            networkMode: string
            networkModeConfig:
                securityGroups:
                    - string
                subnets:
                    - string
        recording:
            enabled: false
            s3Location:
                bucket: string
                prefix: string
        region: string
        tags:
            string: string
        timeouts:
            create: string
            delete: string
    

    AgentcoreBrowser Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AgentcoreBrowser resource accepts the following input properties:

    Description string
    Description of the browser.
    ExecutionRoleArn string
    ARN of the IAM role that the browser assumes for execution.
    Name string
    Name of the browser.
    NetworkConfiguration AgentcoreBrowserNetworkConfiguration

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    Recording AgentcoreBrowserRecording
    Recording configuration for browser sessions. See recording below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts AgentcoreBrowserTimeouts
    Description string
    Description of the browser.
    ExecutionRoleArn string
    ARN of the IAM role that the browser assumes for execution.
    Name string
    Name of the browser.
    NetworkConfiguration AgentcoreBrowserNetworkConfigurationArgs

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    Recording AgentcoreBrowserRecordingArgs
    Recording configuration for browser sessions. See recording below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts AgentcoreBrowserTimeoutsArgs
    description String
    Description of the browser.
    executionRoleArn String
    ARN of the IAM role that the browser assumes for execution.
    name String
    Name of the browser.
    networkConfiguration AgentcoreBrowserNetworkConfiguration

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    recording AgentcoreBrowserRecording
    Recording configuration for browser sessions. See recording below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts AgentcoreBrowserTimeouts
    description string
    Description of the browser.
    executionRoleArn string
    ARN of the IAM role that the browser assumes for execution.
    name string
    Name of the browser.
    networkConfiguration AgentcoreBrowserNetworkConfiguration

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    recording AgentcoreBrowserRecording
    Recording configuration for browser sessions. See recording below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts AgentcoreBrowserTimeouts
    description str
    Description of the browser.
    execution_role_arn str
    ARN of the IAM role that the browser assumes for execution.
    name str
    Name of the browser.
    network_configuration AgentcoreBrowserNetworkConfigurationArgs

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    recording AgentcoreBrowserRecordingArgs
    Recording configuration for browser sessions. See recording below.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts AgentcoreBrowserTimeoutsArgs
    description String
    Description of the browser.
    executionRoleArn String
    ARN of the IAM role that the browser assumes for execution.
    name String
    Name of the browser.
    networkConfiguration Property Map

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    recording Property Map
    Recording configuration for browser sessions. See recording below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AgentcoreBrowser resource produces the following output properties:

    BrowserArn string
    ARN of the Browser.
    BrowserId string
    Unique identifier of the Browser.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    BrowserArn string
    ARN of the Browser.
    BrowserId string
    Unique identifier of the Browser.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    browserArn String
    ARN of the Browser.
    browserId String
    Unique identifier of the Browser.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    browserArn string
    ARN of the Browser.
    browserId string
    Unique identifier of the Browser.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    browser_arn str
    ARN of the Browser.
    browser_id str
    Unique identifier of the Browser.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    browserArn String
    ARN of the Browser.
    browserId String
    Unique identifier of the Browser.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Look up Existing AgentcoreBrowser Resource

    Get an existing AgentcoreBrowser resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AgentcoreBrowserState, opts?: CustomResourceOptions): AgentcoreBrowser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            browser_arn: Optional[str] = None,
            browser_id: Optional[str] = None,
            description: Optional[str] = None,
            execution_role_arn: Optional[str] = None,
            name: Optional[str] = None,
            network_configuration: Optional[AgentcoreBrowserNetworkConfigurationArgs] = None,
            recording: Optional[AgentcoreBrowserRecordingArgs] = None,
            region: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            timeouts: Optional[AgentcoreBrowserTimeoutsArgs] = None) -> AgentcoreBrowser
    func GetAgentcoreBrowser(ctx *Context, name string, id IDInput, state *AgentcoreBrowserState, opts ...ResourceOption) (*AgentcoreBrowser, error)
    public static AgentcoreBrowser Get(string name, Input<string> id, AgentcoreBrowserState? state, CustomResourceOptions? opts = null)
    public static AgentcoreBrowser get(String name, Output<String> id, AgentcoreBrowserState state, CustomResourceOptions options)
    resources:  _:    type: aws:bedrock:AgentcoreBrowser    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BrowserArn string
    ARN of the Browser.
    BrowserId string
    Unique identifier of the Browser.
    Description string
    Description of the browser.
    ExecutionRoleArn string
    ARN of the IAM role that the browser assumes for execution.
    Name string
    Name of the browser.
    NetworkConfiguration AgentcoreBrowserNetworkConfiguration

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    Recording AgentcoreBrowserRecording
    Recording configuration for browser sessions. See recording below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags Dictionary<string, string>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    Timeouts AgentcoreBrowserTimeouts
    BrowserArn string
    ARN of the Browser.
    BrowserId string
    Unique identifier of the Browser.
    Description string
    Description of the browser.
    ExecutionRoleArn string
    ARN of the IAM role that the browser assumes for execution.
    Name string
    Name of the browser.
    NetworkConfiguration AgentcoreBrowserNetworkConfigurationArgs

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    Recording AgentcoreBrowserRecordingArgs
    Recording configuration for browser sessions. See recording below.
    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Tags map[string]string
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    Timeouts AgentcoreBrowserTimeoutsArgs
    browserArn String
    ARN of the Browser.
    browserId String
    Unique identifier of the Browser.
    description String
    Description of the browser.
    executionRoleArn String
    ARN of the IAM role that the browser assumes for execution.
    name String
    Name of the browser.
    networkConfiguration AgentcoreBrowserNetworkConfiguration

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    recording AgentcoreBrowserRecording
    Recording configuration for browser sessions. See recording below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String,String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    timeouts AgentcoreBrowserTimeouts
    browserArn string
    ARN of the Browser.
    browserId string
    Unique identifier of the Browser.
    description string
    Description of the browser.
    executionRoleArn string
    ARN of the IAM role that the browser assumes for execution.
    name string
    Name of the browser.
    networkConfiguration AgentcoreBrowserNetworkConfiguration

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    recording AgentcoreBrowserRecording
    Recording configuration for browser sessions. See recording below.
    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags {[key: string]: string}
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    timeouts AgentcoreBrowserTimeouts
    browser_arn str
    ARN of the Browser.
    browser_id str
    Unique identifier of the Browser.
    description str
    Description of the browser.
    execution_role_arn str
    ARN of the IAM role that the browser assumes for execution.
    name str
    Name of the browser.
    network_configuration AgentcoreBrowserNetworkConfigurationArgs

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    recording AgentcoreBrowserRecordingArgs
    Recording configuration for browser sessions. See recording below.
    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Mapping[str, str]
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    timeouts AgentcoreBrowserTimeoutsArgs
    browserArn String
    ARN of the Browser.
    browserId String
    Unique identifier of the Browser.
    description String
    Description of the browser.
    executionRoleArn String
    ARN of the IAM role that the browser assumes for execution.
    name String
    Name of the browser.
    networkConfiguration Property Map

    Network configuration for the browser. See network_configuration below.

    The following arguments are optional:

    recording Property Map
    Recording configuration for browser sessions. See recording below.
    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    tags Map<String>
    Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
    timeouts Property Map

    Supporting Types

    AgentcoreBrowserNetworkConfiguration, AgentcoreBrowserNetworkConfigurationArgs

    NetworkMode string
    Network mode for the browser. Valid values: PUBLIC, SANDBOX.
    NetworkModeConfig AgentcoreBrowserNetworkConfigurationNetworkModeConfig
    NetworkMode string
    Network mode for the browser. Valid values: PUBLIC, SANDBOX.
    NetworkModeConfig AgentcoreBrowserNetworkConfigurationNetworkModeConfig
    networkMode String
    Network mode for the browser. Valid values: PUBLIC, SANDBOX.
    networkModeConfig AgentcoreBrowserNetworkConfigurationNetworkModeConfig
    networkMode string
    Network mode for the browser. Valid values: PUBLIC, SANDBOX.
    networkModeConfig AgentcoreBrowserNetworkConfigurationNetworkModeConfig
    network_mode str
    Network mode for the browser. Valid values: PUBLIC, SANDBOX.
    network_mode_config AgentcoreBrowserNetworkConfigurationNetworkModeConfig
    networkMode String
    Network mode for the browser. Valid values: PUBLIC, SANDBOX.
    networkModeConfig Property Map

    AgentcoreBrowserNetworkConfigurationNetworkModeConfig, AgentcoreBrowserNetworkConfigurationNetworkModeConfigArgs

    SecurityGroups List<string>
    Subnets List<string>
    SecurityGroups []string
    Subnets []string
    securityGroups List<String>
    subnets List<String>
    securityGroups string[]
    subnets string[]
    security_groups Sequence[str]
    subnets Sequence[str]
    securityGroups List<String>
    subnets List<String>

    AgentcoreBrowserRecording, AgentcoreBrowserRecordingArgs

    Enabled bool
    Whether to enable recording for browser sessions. Defaults to false.
    S3Location AgentcoreBrowserRecordingS3Location
    S3 location where browser session recordings are stored. See s3_location below.
    Enabled bool
    Whether to enable recording for browser sessions. Defaults to false.
    S3Location AgentcoreBrowserRecordingS3Location
    S3 location where browser session recordings are stored. See s3_location below.
    enabled Boolean
    Whether to enable recording for browser sessions. Defaults to false.
    s3Location AgentcoreBrowserRecordingS3Location
    S3 location where browser session recordings are stored. See s3_location below.
    enabled boolean
    Whether to enable recording for browser sessions. Defaults to false.
    s3Location AgentcoreBrowserRecordingS3Location
    S3 location where browser session recordings are stored. See s3_location below.
    enabled bool
    Whether to enable recording for browser sessions. Defaults to false.
    s3_location AgentcoreBrowserRecordingS3Location
    S3 location where browser session recordings are stored. See s3_location below.
    enabled Boolean
    Whether to enable recording for browser sessions. Defaults to false.
    s3Location Property Map
    S3 location where browser session recordings are stored. See s3_location below.

    AgentcoreBrowserRecordingS3Location, AgentcoreBrowserRecordingS3LocationArgs

    Bucket string
    Name of the S3 bucket where recordings are stored.
    Prefix string
    S3 key prefix for recording files.
    Bucket string
    Name of the S3 bucket where recordings are stored.
    Prefix string
    S3 key prefix for recording files.
    bucket String
    Name of the S3 bucket where recordings are stored.
    prefix String
    S3 key prefix for recording files.
    bucket string
    Name of the S3 bucket where recordings are stored.
    prefix string
    S3 key prefix for recording files.
    bucket str
    Name of the S3 bucket where recordings are stored.
    prefix str
    S3 key prefix for recording files.
    bucket String
    Name of the S3 bucket where recordings are stored.
    prefix String
    S3 key prefix for recording files.

    AgentcoreBrowserTimeouts, AgentcoreBrowserTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.

    Import

    Using pulumi import, import Bedrock AgentCore Browser using the browser ID. For example:

    $ pulumi import aws:bedrock/agentcoreBrowser:AgentcoreBrowser example BROWSER1234567890
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.11.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate