CfnBatchScramSecretProps Struct
Properties for defining a CfnBatchScramSecret.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const cfnBatchScramSecretProps: msk.CfnBatchScramSecretProps = {
clusterArn: 'clusterArn',
// the properties below are optional
secretArnList: ['secretArnList'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_msk as msk
cfn_batch_scram_secret_props = msk.CfnBatchScramSecretProps(
cluster_arn="clusterArn",
# the properties below are optional
secret_arn_list=["secretArnList"]
)
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.msk.*;
CfnBatchScramSecretProps cfnBatchScramSecretProps = CfnBatchScramSecretProps.builder()
.clusterArn("clusterArn")
// the properties below are optional
.secretArnList(List.of("secretArnList"))
.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.MSK;
var cfnBatchScramSecretProps = new CfnBatchScramSecretProps {
ClusterArn = "clusterArn",
// the properties below are optional
SecretArnList = new [] { "secretArnList" }
};
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"
cfnBatchScramSecretProps := &CfnBatchScramSecretProps{
ClusterArn: jsii.String("clusterArn"),
// the properties below are optional
SecretArnList: []*string{
jsii.String("secretArnList"),
},
}
Properties
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
secretArnListoptionalstring[]secret_arn_listoptionaltyping.List[str]secretArnListoptionalList<String>SecretArnListoptionalstring[]SecretArnListoptional*[]*string#List of Amazon Resource Name (ARN)s of Secrets Manager secrets.