CfnBrowserCustomPropsMixin
- class aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnBrowserCustomPropsMixin(props, *, strategy=None)
Bases:
MixinAgentCore Browser tool provides a fast, secure, cloud-based browser runtime to enable AI agents to interact with websites at scale.
For more information about using the custom browser, see Interact with web applications using Amazon Bedrock AgentCore Browser .
See the Properties section below for descriptions of both the required and optional properties.
- See:
- CloudformationResource:
AWS::BedrockAgentCore::BrowserCustom
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview import mixins from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins cfn_browser_custom_props_mixin = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin(bedrockagentcore_mixins.CfnBrowserCustomMixinProps( browser_signing=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.BrowserSigningProperty( enabled=False ), description="description", execution_role_arn="executionRoleArn", name="name", network_configuration=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.BrowserNetworkConfigurationProperty( network_mode="networkMode", vpc_config=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] ) ), recording_config=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.RecordingConfigProperty( enabled=False, s3_location=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.S3LocationProperty( bucket="bucket", prefix="prefix" ) ), tags={ "tags_key": "tags" } ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::BedrockAgentCore::BrowserCustom.- Parameters:
props (
Union[CfnBrowserCustomMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['browserSigning', 'description', 'executionRoleArn', 'name', 'networkConfiguration', 'recordingConfig', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.- Stability:
experimental
BrowserNetworkConfigurationProperty
- class CfnBrowserCustomPropsMixin.BrowserNetworkConfigurationProperty(*, network_mode=None, vpc_config=None)
Bases:
objectThe network configuration.
- Parameters:
network_mode (
Optional[str]) – The network mode.vpc_config (
Union[IResolvable,VpcConfigProperty,Dict[str,Any],None]) – Network mode configuration for VPC.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins browser_network_configuration_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.BrowserNetworkConfigurationProperty( network_mode="networkMode", vpc_config=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] ) )
Attributes
- network_mode
The network mode.
BrowserSigningProperty
- class CfnBrowserCustomPropsMixin.BrowserSigningProperty(*, enabled=None)
Bases:
objectBrowser signing configuration.
- Parameters:
enabled (
Union[bool,IResolvable,None]) – Default: - false- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins browser_signing_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.BrowserSigningProperty( enabled=False )
Attributes
RecordingConfigProperty
- class CfnBrowserCustomPropsMixin.RecordingConfigProperty(*, enabled=None, s3_location=None)
Bases:
objectThe recording configuration.
- Parameters:
enabled (
Union[bool,IResolvable,None]) – The recording configuration for a browser. This structure defines how browser sessions are recorded. Default: - falses3_location (
Union[IResolvable,S3LocationProperty,Dict[str,Any],None]) – The S3 location.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins recording_config_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.RecordingConfigProperty( enabled=False, s3_location=bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.S3LocationProperty( bucket="bucket", prefix="prefix" ) )
Attributes
- enabled
The recording configuration for a browser.
This structure defines how browser sessions are recorded.
S3LocationProperty
- class CfnBrowserCustomPropsMixin.S3LocationProperty(*, bucket=None, prefix=None)
Bases:
objectThe S3 location.
- Parameters:
bucket (
Optional[str]) – The S3 location bucket name.prefix (
Optional[str]) – The S3 location object prefix.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins s3_location_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.S3LocationProperty( bucket="bucket", prefix="prefix" )
Attributes
- bucket
The S3 location bucket name.
VpcConfigProperty
- class CfnBrowserCustomPropsMixin.VpcConfigProperty(*, security_groups=None, subnets=None)
Bases:
objectNetwork mode configuration for VPC.
- Parameters:
security_groups (
Optional[Sequence[str]]) – Security groups for VPC.subnets (
Optional[Sequence[str]]) – Subnets for VPC.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_bedrockagentcore import mixins as bedrockagentcore_mixins vpc_config_property = bedrockagentcore_mixins.CfnBrowserCustomPropsMixin.VpcConfigProperty( security_groups=["securityGroups"], subnets=["subnets"] )
Attributes
- security_groups
Security groups for VPC.