CfnRuntimeProps
- class aws_cdk.aws_bedrockagentcore.CfnRuntimeProps(*, agent_runtime_artifact, agent_runtime_name, network_configuration, role_arn, authorizer_configuration=None, description=None, environment_variables=None, protocol_configuration=None, tags=None)
Bases:
object
Properties for defining a
CfnRuntime
.- Parameters:
agent_runtime_artifact (
Union
[IResolvable
,AgentRuntimeArtifactProperty
,Dict
[str
,Any
]])agent_runtime_name (
str
)network_configuration (
Union
[IResolvable
,NetworkConfigurationProperty
,Dict
[str
,Any
]])role_arn (
str
)authorizer_configuration (
Union
[IResolvable
,AuthorizerConfigurationProperty
,Dict
[str
,Any
],None
]) – Configuration for the authorizer.description (
Optional
[str
])environment_variables (
Union
[Mapping
[str
,str
],IResolvable
,None
]) – Environment variable attributes.protocol_configuration (
Optional
[str
])tags (
Optional
[Mapping
[str
,str
]]) – A map of tag keys and values.
- 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_runtime_props = bedrockagentcore.CfnRuntimeProps( agent_runtime_artifact=bedrockagentcore.CfnRuntime.AgentRuntimeArtifactProperty( container_configuration=bedrockagentcore.CfnRuntime.ContainerConfigurationProperty( container_uri="containerUri" ) ), agent_runtime_name="agentRuntimeName", network_configuration=bedrockagentcore.CfnRuntime.NetworkConfigurationProperty( network_mode="networkMode" ), role_arn="roleArn", # the properties below are optional authorizer_configuration=bedrockagentcore.CfnRuntime.AuthorizerConfigurationProperty( custom_jwt_authorizer=bedrockagentcore.CfnRuntime.CustomJWTAuthorizerConfigurationProperty( discovery_url="discoveryUrl", # the properties below are optional allowed_audience=["allowedAudience"], allowed_clients=["allowedClients"] ) ), description="description", environment_variables={ "environment_variables_key": "environmentVariables" }, protocol_configuration="protocolConfiguration", tags={ "tags_key": "tags" } )
Attributes
- agent_runtime_artifact
-
- Type:
see
- agent_runtime_name
-
- Type:
see
- authorizer_configuration
Configuration for the authorizer.
- description
-
- Type:
see
- environment_variables
Environment variable attributes.
- network_configuration
-
- Type:
see
- protocol_configuration
-
- Type:
see
- role_arn
-
- Type:
see
- tags
A map of tag keys and values.