CfnCodeInterpreterCustomProps
- class aws_cdk.aws_bedrockagentcore.CfnCodeInterpreterCustomProps(*, name, network_configuration, description=None, execution_role_arn=None, tags=None)
Bases:
object
Properties for defining a
CfnCodeInterpreterCustom
.- Parameters:
name (
str
) – The name of the code interpreter.network_configuration (
Union
[IResolvable
,CodeInterpreterNetworkConfigurationProperty
,Dict
[str
,Any
]]) – The network configuration for a code interpreter. This structure defines how the code interpreter connects to the network.description (
Optional
[str
]) – The code interpreter description.execution_role_arn (
Optional
[str
]) – The Amazon Resource Name (ARN) of the execution role.tags (
Optional
[Mapping
[str
,str
]]) – The tags for the code interpreter.
- 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 import aws_bedrockagentcore as bedrockagentcore cfn_code_interpreter_custom_props = bedrockagentcore.CfnCodeInterpreterCustomProps( name="name", network_configuration=bedrockagentcore.CfnCodeInterpreterCustom.CodeInterpreterNetworkConfigurationProperty( network_mode="networkMode" ), # the properties below are optional description="description", execution_role_arn="executionRoleArn", tags={ "tags_key": "tags" } )
Attributes
- description
The code interpreter description.
- execution_role_arn
The Amazon Resource Name (ARN) of the execution role.
- name
The name of the code interpreter.
- network_configuration
The network configuration for a code interpreter.
This structure defines how the code interpreter connects to the network.
- tags
The tags for the code interpreter.