CfnRuntimePropsMixin

class aws_cdk.mixins_preview.aws_bedrockagentcore.mixins.CfnRuntimePropsMixin(props, *, strategy=None)

Bases: Mixin

Contains information about an agent runtime. An agent runtime is the execution environment for a Amazon Bedrock Agent.

AgentCore Runtime is a secure, serverless runtime purpose-built for deploying and scaling dynamic AI agents and tools using any open-source framework including LangGraph, CrewAI, and Strands Agents, any protocol, and any model.

For more information about using agent runtime in Amazon Bedrock AgentCore, see Host agent or tools with Amazon Bedrock AgentCore Runtime .

See the Properties section below for descriptions of both the required and optional properties.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html

CloudformationResource:

AWS::BedrockAgentCore::Runtime

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_runtime_props_mixin = bedrockagentcore_mixins.CfnRuntimePropsMixin(bedrockagentcore_mixins.CfnRuntimeMixinProps(
    agent_runtime_artifact=bedrockagentcore_mixins.CfnRuntimePropsMixin.AgentRuntimeArtifactProperty(
        code_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.CodeConfigurationProperty(
            code=bedrockagentcore_mixins.CfnRuntimePropsMixin.CodeProperty(
                s3=bedrockagentcore_mixins.CfnRuntimePropsMixin.S3LocationProperty(
                    bucket="bucket",
                    prefix="prefix",
                    version_id="versionId"
                )
            ),
            entry_point=["entryPoint"],
            runtime="runtime"
        ),
        container_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.ContainerConfigurationProperty(
            container_uri="containerUri"
        )
    ),
    agent_runtime_name="agentRuntimeName",
    authorizer_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.AuthorizerConfigurationProperty(
        custom_jwt_authorizer=bedrockagentcore_mixins.CfnRuntimePropsMixin.CustomJWTAuthorizerConfigurationProperty(
            allowed_audience=["allowedAudience"],
            allowed_clients=["allowedClients"],
            allowed_scopes=["allowedScopes"],
            custom_claims=[bedrockagentcore_mixins.CfnRuntimePropsMixin.CustomClaimValidationTypeProperty(
                authorizing_claim_match_value=bedrockagentcore_mixins.CfnRuntimePropsMixin.AuthorizingClaimMatchValueTypeProperty(
                    claim_match_operator="claimMatchOperator",
                    claim_match_value=bedrockagentcore_mixins.CfnRuntimePropsMixin.ClaimMatchValueTypeProperty(
                        match_value_string="matchValueString",
                        match_value_string_list=["matchValueStringList"]
                    )
                ),
                inbound_token_claim_name="inboundTokenClaimName",
                inbound_token_claim_value_type="inboundTokenClaimValueType"
            )],
            discovery_url="discoveryUrl"
        )
    ),
    description="description",
    environment_variables={
        "environment_variables_key": "environmentVariables"
    },
    lifecycle_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.LifecycleConfigurationProperty(
        idle_runtime_session_timeout=123,
        max_lifetime=123
    ),
    network_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.NetworkConfigurationProperty(
        network_mode="networkMode",
        network_mode_config=bedrockagentcore_mixins.CfnRuntimePropsMixin.VpcConfigProperty(
            security_groups=["securityGroups"],
            subnets=["subnets"]
        )
    ),
    protocol_configuration="protocolConfiguration",
    request_header_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.RequestHeaderConfigurationProperty(
        request_header_allowlist=["requestHeaderAllowlist"]
    ),
    role_arn="roleArn",
    tags={
        "tags_key": "tags"
    }
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::BedrockAgentCore::Runtime.

Parameters:
  • props (Union[CfnRuntimeMixinProps, 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:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['agentRuntimeArtifact', 'agentRuntimeName', 'authorizerConfiguration', 'description', 'environmentVariables', 'lifecycleConfiguration', 'networkConfiguration', 'protocolConfiguration', 'requestHeaderConfiguration', 'roleArn', 'tags']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

AgentRuntimeArtifactProperty

class CfnRuntimePropsMixin.AgentRuntimeArtifactProperty(*, code_configuration=None, container_configuration=None)

Bases: object

The artifact of the agent.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-agentruntimeartifact.html

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

agent_runtime_artifact_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.AgentRuntimeArtifactProperty(
    code_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.CodeConfigurationProperty(
        code=bedrockagentcore_mixins.CfnRuntimePropsMixin.CodeProperty(
            s3=bedrockagentcore_mixins.CfnRuntimePropsMixin.S3LocationProperty(
                bucket="bucket",
                prefix="prefix",
                version_id="versionId"
            )
        ),
        entry_point=["entryPoint"],
        runtime="runtime"
    ),
    container_configuration=bedrockagentcore_mixins.CfnRuntimePropsMixin.ContainerConfigurationProperty(
        container_uri="containerUri"
    )
)

Attributes

code_configuration

Representation of a code configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-agentruntimeartifact.html#cfn-bedrockagentcore-runtime-agentruntimeartifact-codeconfiguration

container_configuration

Representation of a container configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-agentruntimeartifact.html#cfn-bedrockagentcore-runtime-agentruntimeartifact-containerconfiguration

AuthorizerConfigurationProperty

class CfnRuntimePropsMixin.AuthorizerConfigurationProperty(*, custom_jwt_authorizer=None)

Bases: object

The authorizer configuration.

Parameters:

custom_jwt_authorizer (Union[IResolvable, CustomJWTAuthorizerConfigurationProperty, Dict[str, Any], None]) – Represents inbound authorization configuration options used to authenticate incoming requests.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-authorizerconfiguration.html

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

authorizer_configuration_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.AuthorizerConfigurationProperty(
    custom_jwt_authorizer=bedrockagentcore_mixins.CfnRuntimePropsMixin.CustomJWTAuthorizerConfigurationProperty(
        allowed_audience=["allowedAudience"],
        allowed_clients=["allowedClients"],
        allowed_scopes=["allowedScopes"],
        custom_claims=[bedrockagentcore_mixins.CfnRuntimePropsMixin.CustomClaimValidationTypeProperty(
            authorizing_claim_match_value=bedrockagentcore_mixins.CfnRuntimePropsMixin.AuthorizingClaimMatchValueTypeProperty(
                claim_match_operator="claimMatchOperator",
                claim_match_value=bedrockagentcore_mixins.CfnRuntimePropsMixin.ClaimMatchValueTypeProperty(
                    match_value_string="matchValueString",
                    match_value_string_list=["matchValueStringList"]
                )
            ),
            inbound_token_claim_name="inboundTokenClaimName",
            inbound_token_claim_value_type="inboundTokenClaimValueType"
        )],
        discovery_url="discoveryUrl"
    )
)

Attributes

custom_jwt_authorizer

Represents inbound authorization configuration options used to authenticate incoming requests.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-authorizerconfiguration.html#cfn-bedrockagentcore-runtime-authorizerconfiguration-customjwtauthorizer

AuthorizingClaimMatchValueTypeProperty

class CfnRuntimePropsMixin.AuthorizingClaimMatchValueTypeProperty(*, claim_match_operator=None, claim_match_value=None)

Bases: object

The value or values in the custom claim to match and relationship of match.

Parameters:
  • claim_match_operator (Optional[str]) – The relationship between the claim field value and the value or values being matched.

  • claim_match_value (Union[IResolvable, ClaimMatchValueTypeProperty, Dict[str, Any], None]) – The value or values in the custom claim to match for.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-authorizingclaimmatchvaluetype.html

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

authorizing_claim_match_value_type_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.AuthorizingClaimMatchValueTypeProperty(
    claim_match_operator="claimMatchOperator",
    claim_match_value=bedrockagentcore_mixins.CfnRuntimePropsMixin.ClaimMatchValueTypeProperty(
        match_value_string="matchValueString",
        match_value_string_list=["matchValueStringList"]
    )
)

Attributes

claim_match_operator

The relationship between the claim field value and the value or values being matched.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-authorizingclaimmatchvaluetype.html#cfn-bedrockagentcore-runtime-authorizingclaimmatchvaluetype-claimmatchoperator

claim_match_value

The value or values in the custom claim to match for.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-authorizingclaimmatchvaluetype.html#cfn-bedrockagentcore-runtime-authorizingclaimmatchvaluetype-claimmatchvalue

ClaimMatchValueTypeProperty

class CfnRuntimePropsMixin.ClaimMatchValueTypeProperty(*, match_value_string=None, match_value_string_list=None)

Bases: object

The value or values in the custom claim to match for.

Parameters:
  • match_value_string (Optional[str]) – The string value to match for.

  • match_value_string_list (Optional[Sequence[str]]) – The list of strings to check for a match.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-claimmatchvaluetype.html

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

claim_match_value_type_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.ClaimMatchValueTypeProperty(
    match_value_string="matchValueString",
    match_value_string_list=["matchValueStringList"]
)

Attributes

match_value_string

The string value to match for.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-claimmatchvaluetype.html#cfn-bedrockagentcore-runtime-claimmatchvaluetype-matchvaluestring

match_value_string_list

The list of strings to check for a match.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-claimmatchvaluetype.html#cfn-bedrockagentcore-runtime-claimmatchvaluetype-matchvaluestringlist

CodeConfigurationProperty

class CfnRuntimePropsMixin.CodeConfigurationProperty(*, code=None, entry_point=None, runtime=None)

Bases: object

Representation of a code configuration.

Parameters:
  • code (Union[IResolvable, CodeProperty, Dict[str, Any], None]) – Object represents source code from zip file.

  • entry_point (Optional[Sequence[str]]) – List of entry points.

  • runtime (Optional[str]) – Managed runtime types.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-codeconfiguration.html

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

code_configuration_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.CodeConfigurationProperty(
    code=bedrockagentcore_mixins.CfnRuntimePropsMixin.CodeProperty(
        s3=bedrockagentcore_mixins.CfnRuntimePropsMixin.S3LocationProperty(
            bucket="bucket",
            prefix="prefix",
            version_id="versionId"
        )
    ),
    entry_point=["entryPoint"],
    runtime="runtime"
)

Attributes

code

Object represents source code from zip file.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-codeconfiguration.html#cfn-bedrockagentcore-runtime-codeconfiguration-code

entry_point

List of entry points.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-codeconfiguration.html#cfn-bedrockagentcore-runtime-codeconfiguration-entrypoint

runtime

Managed runtime types.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-codeconfiguration.html#cfn-bedrockagentcore-runtime-codeconfiguration-runtime

CodeProperty

class CfnRuntimePropsMixin.CodeProperty(*, s3=None)

Bases: object

Object represents source code from zip file.

Parameters:

s3 (Union[IResolvable, S3LocationProperty, Dict[str, Any], None]) – S3 Location Configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-code.html

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

code_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.CodeProperty(
    s3=bedrockagentcore_mixins.CfnRuntimePropsMixin.S3LocationProperty(
        bucket="bucket",
        prefix="prefix",
        version_id="versionId"
    )
)

Attributes

s3

S3 Location Configuration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-code.html#cfn-bedrockagentcore-runtime-code-s3

ContainerConfigurationProperty

class CfnRuntimePropsMixin.ContainerConfigurationProperty(*, container_uri=None)

Bases: object

The container configuration.

Parameters:

container_uri (Optional[str]) – The container Uri.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-containerconfiguration.html

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

container_configuration_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.ContainerConfigurationProperty(
    container_uri="containerUri"
)

Attributes

container_uri

The container Uri.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-containerconfiguration.html#cfn-bedrockagentcore-runtime-containerconfiguration-containeruri

CustomClaimValidationTypeProperty

class CfnRuntimePropsMixin.CustomClaimValidationTypeProperty(*, authorizing_claim_match_value=None, inbound_token_claim_name=None, inbound_token_claim_value_type=None)

Bases: object

Required custom claim.

Parameters:
  • authorizing_claim_match_value (Union[IResolvable, AuthorizingClaimMatchValueTypeProperty, Dict[str, Any], None]) – The value or values in the custom claim to match and relationship of match.

  • inbound_token_claim_name (Optional[str]) – The name of the custom claim to validate.

  • inbound_token_claim_value_type (Optional[str]) – Token claim data type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customclaimvalidationtype.html

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

custom_claim_validation_type_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.CustomClaimValidationTypeProperty(
    authorizing_claim_match_value=bedrockagentcore_mixins.CfnRuntimePropsMixin.AuthorizingClaimMatchValueTypeProperty(
        claim_match_operator="claimMatchOperator",
        claim_match_value=bedrockagentcore_mixins.CfnRuntimePropsMixin.ClaimMatchValueTypeProperty(
            match_value_string="matchValueString",
            match_value_string_list=["matchValueStringList"]
        )
    ),
    inbound_token_claim_name="inboundTokenClaimName",
    inbound_token_claim_value_type="inboundTokenClaimValueType"
)

Attributes

authorizing_claim_match_value

The value or values in the custom claim to match and relationship of match.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customclaimvalidationtype.html#cfn-bedrockagentcore-runtime-customclaimvalidationtype-authorizingclaimmatchvalue

inbound_token_claim_name

The name of the custom claim to validate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customclaimvalidationtype.html#cfn-bedrockagentcore-runtime-customclaimvalidationtype-inboundtokenclaimname

inbound_token_claim_value_type

Token claim data type.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customclaimvalidationtype.html#cfn-bedrockagentcore-runtime-customclaimvalidationtype-inboundtokenclaimvaluetype

CustomJWTAuthorizerConfigurationProperty

class CfnRuntimePropsMixin.CustomJWTAuthorizerConfigurationProperty(*, allowed_audience=None, allowed_clients=None, allowed_scopes=None, custom_claims=None, discovery_url=None)

Bases: object

Configuration for custom JWT authorizer.

Parameters:
  • allowed_audience (Optional[Sequence[str]]) – Represents inbound authorization configuration options used to authenticate incoming requests.

  • allowed_clients (Optional[Sequence[str]]) – Represents individual client IDs that are validated in the incoming JWT token validation process.

  • allowed_scopes (Optional[Sequence[str]]) – List of allowed scopes.

  • custom_claims (Union[IResolvable, Sequence[Union[IResolvable, CustomClaimValidationTypeProperty, Dict[str, Any]]], None]) – List of required custom claims.

  • discovery_url (Optional[str]) – The configuration authorization.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html

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

custom_jWTAuthorizer_configuration_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.CustomJWTAuthorizerConfigurationProperty(
    allowed_audience=["allowedAudience"],
    allowed_clients=["allowedClients"],
    allowed_scopes=["allowedScopes"],
    custom_claims=[bedrockagentcore_mixins.CfnRuntimePropsMixin.CustomClaimValidationTypeProperty(
        authorizing_claim_match_value=bedrockagentcore_mixins.CfnRuntimePropsMixin.AuthorizingClaimMatchValueTypeProperty(
            claim_match_operator="claimMatchOperator",
            claim_match_value=bedrockagentcore_mixins.CfnRuntimePropsMixin.ClaimMatchValueTypeProperty(
                match_value_string="matchValueString",
                match_value_string_list=["matchValueStringList"]
            )
        ),
        inbound_token_claim_name="inboundTokenClaimName",
        inbound_token_claim_value_type="inboundTokenClaimValueType"
    )],
    discovery_url="discoveryUrl"
)

Attributes

allowed_audience

Represents inbound authorization configuration options used to authenticate incoming requests.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-allowedaudience

allowed_clients

Represents individual client IDs that are validated in the incoming JWT token validation process.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-allowedclients

allowed_scopes

List of allowed scopes.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-allowedscopes

custom_claims

List of required custom claims.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-customclaims

discovery_url

The configuration authorization.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-discoveryurl

LifecycleConfigurationProperty

class CfnRuntimePropsMixin.LifecycleConfigurationProperty(*, idle_runtime_session_timeout=None, max_lifetime=None)

Bases: object

Configuration for managing the lifecycle of runtime sessions and resources.

Parameters:
  • idle_runtime_session_timeout (Union[int, float, None]) – Timeout in seconds for idle runtime sessions.

  • max_lifetime (Union[int, float, None]) – Maximum lifetime in seconds for runtime sessions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-lifecycleconfiguration.html

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

lifecycle_configuration_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.LifecycleConfigurationProperty(
    idle_runtime_session_timeout=123,
    max_lifetime=123
)

Attributes

idle_runtime_session_timeout

Timeout in seconds for idle runtime sessions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-lifecycleconfiguration.html#cfn-bedrockagentcore-runtime-lifecycleconfiguration-idleruntimesessiontimeout

max_lifetime

Maximum lifetime in seconds for runtime sessions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-lifecycleconfiguration.html#cfn-bedrockagentcore-runtime-lifecycleconfiguration-maxlifetime

NetworkConfigurationProperty

class CfnRuntimePropsMixin.NetworkConfigurationProperty(*, network_mode=None, network_mode_config=None)

Bases: object

The network configuration for the agent.

Parameters:
  • network_mode (Optional[str]) – The network mode.

  • network_mode_config (Union[IResolvable, VpcConfigProperty, Dict[str, Any], None]) – Network mode configuration for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-networkconfiguration.html

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

network_configuration_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.NetworkConfigurationProperty(
    network_mode="networkMode",
    network_mode_config=bedrockagentcore_mixins.CfnRuntimePropsMixin.VpcConfigProperty(
        security_groups=["securityGroups"],
        subnets=["subnets"]
    )
)

Attributes

network_mode

The network mode.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-networkconfiguration.html#cfn-bedrockagentcore-runtime-networkconfiguration-networkmode

network_mode_config

Network mode configuration for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-networkconfiguration.html#cfn-bedrockagentcore-runtime-networkconfiguration-networkmodeconfig

RequestHeaderConfigurationProperty

class CfnRuntimePropsMixin.RequestHeaderConfigurationProperty(*, request_header_allowlist=None)

Bases: object

Configuration for HTTP request headers.

Parameters:

request_header_allowlist (Optional[Sequence[str]]) – List of allowed HTTP headers for agent runtime requests.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-requestheaderconfiguration.html

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

request_header_configuration_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.RequestHeaderConfigurationProperty(
    request_header_allowlist=["requestHeaderAllowlist"]
)

Attributes

request_header_allowlist

List of allowed HTTP headers for agent runtime requests.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-requestheaderconfiguration.html#cfn-bedrockagentcore-runtime-requestheaderconfiguration-requestheaderallowlist

S3LocationProperty

class CfnRuntimePropsMixin.S3LocationProperty(*, bucket=None, prefix=None, version_id=None)

Bases: object

S3 Location Configuration.

Parameters:
  • bucket (Optional[str]) – S3 bucket name.

  • prefix (Optional[str]) – S3 object key prefix.

  • version_id (Optional[str]) – S3 object version ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-s3location.html

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.CfnRuntimePropsMixin.S3LocationProperty(
    bucket="bucket",
    prefix="prefix",
    version_id="versionId"
)

Attributes

bucket

S3 bucket name.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-s3location.html#cfn-bedrockagentcore-runtime-s3location-bucket

prefix

S3 object key prefix.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-s3location.html#cfn-bedrockagentcore-runtime-s3location-prefix

version_id

S3 object version ID.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-s3location.html#cfn-bedrockagentcore-runtime-s3location-versionid

VpcConfigProperty

class CfnRuntimePropsMixin.VpcConfigProperty(*, security_groups=None, subnets=None)

Bases: object

Network mode configuration for VPC.

Parameters:
  • security_groups (Optional[Sequence[str]]) – Security groups for VPC.

  • subnets (Optional[Sequence[str]]) – Subnets for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-vpcconfig.html

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.CfnRuntimePropsMixin.VpcConfigProperty(
    security_groups=["securityGroups"],
    subnets=["subnets"]
)

Attributes

security_groups

Security groups for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-vpcconfig.html#cfn-bedrockagentcore-runtime-vpcconfig-securitygroups

subnets

Subnets for VPC.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-vpcconfig.html#cfn-bedrockagentcore-runtime-vpcconfig-subnets

WorkloadIdentityDetailsProperty

class CfnRuntimePropsMixin.WorkloadIdentityDetailsProperty(*, workload_identity_arn=None)

Bases: object

The workload identity details for the agent.

Parameters:

workload_identity_arn (Optional[str]) – The Amazon Resource Name (ARN) for the workload identity.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-workloadidentitydetails.html

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

workload_identity_details_property = bedrockagentcore_mixins.CfnRuntimePropsMixin.WorkloadIdentityDetailsProperty(
    workload_identity_arn="workloadIdentityArn"
)

Attributes

workload_identity_arn

The Amazon Resource Name (ARN) for the workload identity.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-workloadidentitydetails.html#cfn-bedrockagentcore-runtime-workloadidentitydetails-workloadidentityarn