CfnConfigurationBundlePropsMixin

class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnConfigurationBundlePropsMixin(props, *, strategy=None)

Bases: Mixin

Definition of AWS::BedrockAgentCore::ConfigurationBundle Resource Type.

See:

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

CloudformationResource:

AWS::BedrockAgentCore::ConfigurationBundle

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.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore
import aws_cdk as cdk

# configuration: Any
# merge_strategy: cdk.IMergeStrategy

cfn_configuration_bundle_props_mixin = bedrockagentcore.CfnConfigurationBundlePropsMixin(bedrockagentcore.CfnConfigurationBundleMixinProps(
    branch_name="branchName",
    bundle_name="bundleName",
    commit_message="commitMessage",
    components={
        "components_key": bedrockagentcore.CfnConfigurationBundlePropsMixin.ComponentConfigurationProperty(
            configuration=configuration
        )
    },
    created_by=bedrockagentcore.CfnConfigurationBundlePropsMixin.VersionCreatedBySourceProperty(
        arn="arn",
        name="name"
    ),
    description="description",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

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

Parameters:

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 = ['branchName', 'bundleName', 'commitMessage', 'components', 'createdBy', 'description', '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.

ComponentConfigurationProperty

class CfnConfigurationBundlePropsMixin.ComponentConfigurationProperty(*, configuration=None)

Bases: object

The configuration for a component within a configuration bundle.

Parameters:

configuration (Any) – The configuration values as a flexible JSON document.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-componentconfiguration.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.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore

# configuration: Any

component_configuration_property = bedrockagentcore.CfnConfigurationBundlePropsMixin.ComponentConfigurationProperty(
    configuration=configuration
)

Attributes

configuration

The configuration values as a flexible JSON document.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-componentconfiguration.html#cfn-bedrockagentcore-configurationbundle-componentconfiguration-configuration

VersionCreatedBySourceProperty

class CfnConfigurationBundlePropsMixin.VersionCreatedBySourceProperty(*, arn=None, name=None)

Bases: object

The source that created a configuration bundle version.

Parameters:
  • arn (Optional[str]) – The Amazon Resource Name (ARN) of the source, if applicable.

  • name (Optional[str]) – The name of the source (for example, user, optimization-job, or system).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-versioncreatedbysource.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.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore

version_created_by_source_property = bedrockagentcore.CfnConfigurationBundlePropsMixin.VersionCreatedBySourceProperty(
    arn="arn",
    name="name"
)

Attributes

arn

The Amazon Resource Name (ARN) of the source, if applicable.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-versioncreatedbysource.html#cfn-bedrockagentcore-configurationbundle-versioncreatedbysource-arn

name

The name of the source (for example, user, optimization-job, or system).

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-versioncreatedbysource.html#cfn-bedrockagentcore-configurationbundle-versioncreatedbysource-name

VersionLineageMetadataProperty

class CfnConfigurationBundlePropsMixin.VersionLineageMetadataProperty(*, branch_name=None, commit_message=None, created_by=None, parent_version_ids=None)

Bases: object

The version lineage metadata that tracks parent versions and creation source.

Parameters:
  • branch_name (Optional[str]) – The branch name for this version.

  • commit_message (Optional[str]) – A commit message describing the changes in this version.

  • created_by (Union[IResolvable, VersionCreatedBySourceProperty, Dict[str, Any], None]) – The source that created a configuration bundle version.

  • parent_version_ids (Optional[Sequence[str]]) – A list of parent version identifiers.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-versionlineagemetadata.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.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore

version_lineage_metadata_property = bedrockagentcore.CfnConfigurationBundlePropsMixin.VersionLineageMetadataProperty(
    branch_name="branchName",
    commit_message="commitMessage",
    created_by=bedrockagentcore.CfnConfigurationBundlePropsMixin.VersionCreatedBySourceProperty(
        arn="arn",
        name="name"
    ),
    parent_version_ids=["parentVersionIds"]
)

Attributes

branch_name

The branch name for this version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-versionlineagemetadata.html#cfn-bedrockagentcore-configurationbundle-versionlineagemetadata-branchname

commit_message

A commit message describing the changes in this version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-versionlineagemetadata.html#cfn-bedrockagentcore-configurationbundle-versionlineagemetadata-commitmessage

created_by

The source that created a configuration bundle version.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-versionlineagemetadata.html#cfn-bedrockagentcore-configurationbundle-versionlineagemetadata-createdby

parent_version_ids

A list of parent version identifiers.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-configurationbundle-versionlineagemetadata.html#cfn-bedrockagentcore-configurationbundle-versionlineagemetadata-parentversionids