# CfnConfigurationBundleProps

Properties for defining a `CfnConfigurationBundle`.

Used as props by: [CfnConfigurationBundle](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnConfigurationBundle.html)

- Source: Generated at build time
- Type last changed: v2.261.0 · 2 Jul 2026

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';

declare const configuration: any;
const cfnConfigurationBundleProps: bedrockagentcore.CfnConfigurationBundleProps = {
  bundleName: 'bundleName',
  components: {
    componentsKey: {
      configuration: configuration,
    },
  },

  // the properties below are optional
  branchName: 'branchName',
  commitMessage: 'commitMessage',
  createdBy: {
    name: 'name',

    // the properties below are optional
    arn: 'arn',
  },
  description: 'description',
  kmsKeyArn: 'kmsKeyArn',
  tags: [{
    key: 'key',
    value: 'value',
  }],
};
```

Python:

```python
from aws_cdk import CfnTag
# 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

# configuration: Any

cfn_configuration_bundle_props = bedrockagentcore.CfnConfigurationBundleProps(
    bundle_name="bundleName",
    components={
        "components_key": bedrockagentcore.CfnConfigurationBundle.ComponentConfigurationProperty(
            configuration=configuration
        )
    },

    # the properties below are optional
    branch_name="branchName",
    commit_message="commitMessage",
    created_by=bedrockagentcore.CfnConfigurationBundle.VersionCreatedBySourceProperty(
        name="name",

        # the properties below are optional
        arn="arn"
    ),
    description="description",
    kms_key_arn="kmsKeyArn",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;

Object configuration;

CfnConfigurationBundleProps cfnConfigurationBundleProps = CfnConfigurationBundleProps.builder()
        .bundleName("bundleName")
        .components(Map.of(
                "componentsKey", ComponentConfigurationProperty.builder()
                        .configuration(configuration)
                        .build()))

        // the properties below are optional
        .branchName("branchName")
        .commitMessage("commitMessage")
        .createdBy(VersionCreatedBySourceProperty.builder()
                .name("name")

                // the properties below are optional
                .arn("arn")
                .build())
        .description("description")
        .kmsKeyArn("kmsKeyArn")
        .tags(List.of(CfnTag.builder()
                .key("key")
                .value("value")
                .build()))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;

var configuration;

var cfnConfigurationBundleProps = new CfnConfigurationBundleProps {
    BundleName = "bundleName",
    Components = new Dictionary<string, object> {
        { "componentsKey", new ComponentConfigurationProperty {
            Configuration = configuration
        } }
    },

    // the properties below are optional
    BranchName = "branchName",
    CommitMessage = "commitMessage",
    CreatedBy = new VersionCreatedBySourceProperty {
        Name = "name",

        // the properties below are optional
        Arn = "arn"
    },
    Description = "description",
    KmsKeyArn = "kmsKeyArn",
    Tags = new [] { new CfnTag {
        Key = "key",
        Value = "value"
    } }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

var configuration interface{}

cfnConfigurationBundleProps := &CfnConfigurationBundleProps{
	BundleName: jsii.String("bundleName"),
	Components: map[string]interface{}{
		"componentsKey": &ComponentConfigurationProperty{
			"configuration": configuration,
		},
	},

	// the properties below are optional
	BranchName: jsii.String("branchName"),
	CommitMessage: jsii.String("commitMessage"),
	CreatedBy: &VersionCreatedBySourceProperty{
		Name: jsii.String("name"),

		// the properties below are optional
		Arn: jsii.String("arn"),
	},
	Description: jsii.String("description"),
	KmsKeyArn: jsii.String("kmsKeyArn"),
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}
```

## Properties

- `branchName`: string — The branch name for version tracking.

- `bundleName`: string (required) — The name for the configuration bundle.

  Names must be unique within your account.

- `commitMessage`: string — A commit message describing the version of the configuration bundle.

- `components`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | { [key: string]: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfigurationBundle.ComponentConfigurationProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnConfigurationBundle.ComponentConfigurationProperty.html) } (required) — A map of component identifiers to their configurations.

- `createdBy`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnConfigurationBundle.VersionCreatedBySourceProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_bedrockagentcore.CfnConfigurationBundle.VersionCreatedBySourceProperty.html) — The source that created a configuration bundle version.

- `description`: string — The description for the configuration bundle.

- `kmsKeyArn`: string — The ARN of the KMS key used to encrypt component configurations.

- `tags`: [CfnTag](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.CfnTag.html)[] — Tags to assign to the configuration bundle.
