# CfnBrowserCustomProps

Properties for defining a `CfnBrowserCustom`.

Used as props by: [CfnBrowserCustom](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.html)

- Source: Generated at build time
- Type last changed: v2.253.0 · 6 May 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const cfnBrowserCustomProps: bedrockagentcore.CfnBrowserCustomProps = {
  name: 'name',
  networkConfiguration: {
    networkMode: 'networkMode',

    // the properties below are optional
    vpcConfig: {
      securityGroups: ['securityGroups'],
      subnets: ['subnets'],
    },
  },

  // the properties below are optional
  browserSigning: {
    enabled: false,
  },
  certificates: [{
    certificateLocation: {
      secretArn: 'secretArn',
    },
  }],
  description: 'description',
  enterprisePolicies: [{
    location: {
      bucket: 'bucket',
      prefix: 'prefix',
    },
    type: 'type',
  }],
  executionRoleArn: 'executionRoleArn',
  recordingConfig: {
    enabled: false,
    s3Location: {
      bucket: 'bucket',
      prefix: 'prefix',
    },
  },
  tags: {
    tagsKey: 'tags',
  },
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore

cfn_browser_custom_props = bedrockagentcore.CfnBrowserCustomProps(
    name="name",
    network_configuration=bedrockagentcore.CfnBrowserCustom.BrowserNetworkConfigurationProperty(
        network_mode="networkMode",

        # the properties below are optional
        vpc_config=bedrockagentcore.CfnBrowserCustom.VpcConfigProperty(
            security_groups=["securityGroups"],
            subnets=["subnets"]
        )
    ),

    # the properties below are optional
    browser_signing=bedrockagentcore.CfnBrowserCustom.BrowserSigningProperty(
        enabled=False
    ),
    certificates=[bedrockagentcore.CfnBrowserCustom.CertificateProperty(
        certificate_location=bedrockagentcore.CfnBrowserCustom.CertificateLocationProperty(
            secret_arn="secretArn"
        )
    )],
    description="description",
    enterprise_policies=[bedrockagentcore.CfnBrowserCustom.BrowserEnterprisePolicyProperty(
        location=bedrockagentcore.CfnBrowserCustom.S3LocationProperty(
            bucket="bucket",
            prefix="prefix"
        ),
        type="type"
    )],
    execution_role_arn="executionRoleArn",
    recording_config=bedrockagentcore.CfnBrowserCustom.RecordingConfigProperty(
        enabled=False,
        s3_location=bedrockagentcore.CfnBrowserCustom.S3LocationProperty(
            bucket="bucket",
            prefix="prefix"
        )
    ),
    tags={
        "tags_key": "tags"
    }
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;

CfnBrowserCustomProps cfnBrowserCustomProps = CfnBrowserCustomProps.builder()
        .name("name")
        .networkConfiguration(BrowserNetworkConfigurationProperty.builder()
                .networkMode("networkMode")

                // the properties below are optional
                .vpcConfig(VpcConfigProperty.builder()
                        .securityGroups(List.of("securityGroups"))
                        .subnets(List.of("subnets"))
                        .build())
                .build())

        // the properties below are optional
        .browserSigning(BrowserSigningProperty.builder()
                .enabled(false)
                .build())
        .certificates(List.of(CertificateProperty.builder()
                .certificateLocation(CertificateLocationProperty.builder()
                        .secretArn("secretArn")
                        .build())
                .build()))
        .description("description")
        .enterprisePolicies(List.of(BrowserEnterprisePolicyProperty.builder()
                .location(S3LocationProperty.builder()
                        .bucket("bucket")
                        .prefix("prefix")
                        .build())
                .type("type")
                .build()))
        .executionRoleArn("executionRoleArn")
        .recordingConfig(RecordingConfigProperty.builder()
                .enabled(false)
                .s3Location(S3LocationProperty.builder()
                        .bucket("bucket")
                        .prefix("prefix")
                        .build())
                .build())
        .tags(Map.of(
                "tagsKey", "tags"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;

var cfnBrowserCustomProps = new CfnBrowserCustomProps {
    Name = "name",
    NetworkConfiguration = new BrowserNetworkConfigurationProperty {
        NetworkMode = "networkMode",

        // the properties below are optional
        VpcConfig = new VpcConfigProperty {
            SecurityGroups = new [] { "securityGroups" },
            Subnets = new [] { "subnets" }
        }
    },

    // the properties below are optional
    BrowserSigning = new BrowserSigningProperty {
        Enabled = false
    },
    Certificates = new [] { new CertificateProperty {
        CertificateLocation = new CertificateLocationProperty {
            SecretArn = "secretArn"
        }
    } },
    Description = "description",
    EnterprisePolicies = new [] { new BrowserEnterprisePolicyProperty {
        Location = new S3LocationProperty {
            Bucket = "bucket",
            Prefix = "prefix"
        },
        Type = "type"
    } },
    ExecutionRoleArn = "executionRoleArn",
    RecordingConfig = new RecordingConfigProperty {
        Enabled = false,
        S3Location = new S3LocationProperty {
            Bucket = "bucket",
            Prefix = "prefix"
        }
    },
    Tags = new Dictionary<string, string> {
        { "tagsKey", "tags" }
    }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnBrowserCustomProps := &CfnBrowserCustomProps{
	Name: jsii.String("name"),
	NetworkConfiguration: &BrowserNetworkConfigurationProperty{
		NetworkMode: jsii.String("networkMode"),

		// the properties below are optional
		VpcConfig: &VpcConfigProperty{
			SecurityGroups: []*string{
				jsii.String("securityGroups"),
			},
			Subnets: []*string{
				jsii.String("subnets"),
			},
		},
	},

	// the properties below are optional
	BrowserSigning: &BrowserSigningProperty{
		Enabled: jsii.Boolean(false),
	},
	Certificates: []interface{}{
		&CertificateProperty{
			CertificateLocation: &CertificateLocationProperty{
				SecretArn: jsii.String("secretArn"),
			},
		},
	},
	Description: jsii.String("description"),
	EnterprisePolicies: []interface{}{
		&BrowserEnterprisePolicyProperty{
			Location: &S3LocationProperty{
				Bucket: jsii.String("bucket"),
				Prefix: jsii.String("prefix"),
			},
			Type: jsii.String("type"),
		},
	},
	ExecutionRoleArn: jsii.String("executionRoleArn"),
	RecordingConfig: &RecordingConfigProperty{
		Enabled: jsii.Boolean(false),
		S3Location: &S3LocationProperty{
			Bucket: jsii.String("bucket"),
			Prefix: jsii.String("prefix"),
		},
	},
	Tags: map[string]*string{
		"tagsKey": jsii.String("tags"),
	},
}
```

## Properties

- `browserSigning`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBrowserCustom.BrowserSigningProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.BrowserSigningProperty.html) — Browser signing configuration.

- `certificates`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBrowserCustom.CertificateProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.CertificateProperty.html)[] — List of root CA certificates.

- `description`: string — The custom browser.

- `enterprisePolicies`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBrowserCustom.BrowserEnterprisePolicyProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.BrowserEnterprisePolicyProperty.html)[] — List of browser enterprise policies.

- `executionRoleArn`: string — The Amazon Resource Name (ARN) of the execution role.

- `name`: string (required) — The name of the custom browser.

- `networkConfiguration`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBrowserCustom.BrowserNetworkConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.BrowserNetworkConfigurationProperty.html) (required) — The network configuration for a code interpreter.

  This structure defines how the code interpreter connects to the network.

- `recordingConfig`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnBrowserCustom.RecordingConfigProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnBrowserCustom.RecordingConfigProperty.html) — THe custom browser configuration.

- `tags`: { [key: string]: string } — The tags for the custom browser.
