CfnConfigurationBundleProps Struct
Properties for defining a CfnConfigurationBundle.
| Source | |
|---|---|
| Type last changed |
Example
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
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
// 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();
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"
} }
};
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
branchNameoptionalstringbranch_nameoptionalstrbranchNameoptionalStringBranchNameoptionalstringBranchNameoptional*string #The branch name for version tracking.
The name for the configuration bundle.
Names must be unique within your account.
commitMessageoptionalstringcommit_messageoptionalstrcommitMessageoptionalStringCommitMessageoptionalstringCommitMessageoptional*string #A commit message describing the version of the configuration bundle.
componentsIResolvable | { [key: string]: IResolvable | CfnConfigurationBundle.componentstyping.Union[IResolvable, typing.Mapping[str, typing.Union[IResolvable, ComponentConfigurationProperty]]]componentsIResolvableComponentsIResolvableComponentsinterface{} required #A map of component identifiers to their configurations.
createdByoptionalIResolvable | CfnConfigurationBundle.created_byoptionaltyping.Union[IResolvable, VersionCreatedBySourceProperty]createdByoptionalIResolvableCreatedByoptionalIResolvableCreatedByoptionalinterface{} #The source that created a configuration bundle version.
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description for the configuration bundle.
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #The ARN of the KMS key used to encrypt component configurations.