interface CfnClusterProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MSK.CfnClusterProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnClusterProps |
![]() | software.amazon.awscdk.services.msk.CfnClusterProps |
![]() | aws_cdk.aws_msk.CfnClusterProps |
![]() | aws-cdk-lib » aws_msk » CfnClusterProps |
Properties for defining a CfnCluster
.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html
Example
// 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 cfnClusterProps: msk.CfnClusterProps = {
brokerNodeGroupInfo: {
clientSubnets: ['clientSubnets'],
instanceType: 'instanceType',
// the properties below are optional
brokerAzDistribution: 'brokerAzDistribution',
connectivityInfo: {
publicAccess: {
type: 'type',
},
vpcConnectivity: {
clientAuthentication: {
sasl: {
iam: {
enabled: false,
},
scram: {
enabled: false,
},
},
tls: {
enabled: false,
},
},
},
},
securityGroups: ['securityGroups'],
storageInfo: {
ebsStorageInfo: {
provisionedThroughput: {
enabled: false,
volumeThroughput: 123,
},
volumeSize: 123,
},
},
},
clusterName: 'clusterName',
kafkaVersion: 'kafkaVersion',
numberOfBrokerNodes: 123,
// the properties below are optional
clientAuthentication: {
sasl: {
iam: {
enabled: false,
},
scram: {
enabled: false,
},
},
tls: {
certificateAuthorityArnList: ['certificateAuthorityArnList'],
enabled: false,
},
unauthenticated: {
enabled: false,
},
},
configurationInfo: {
arn: 'arn',
revision: 123,
},
currentVersion: 'currentVersion',
encryptionInfo: {
encryptionAtRest: {
dataVolumeKmsKeyId: 'dataVolumeKmsKeyId',
},
encryptionInTransit: {
clientBroker: 'clientBroker',
inCluster: false,
},
},
enhancedMonitoring: 'enhancedMonitoring',
loggingInfo: {
brokerLogs: {
cloudWatchLogs: {
enabled: false,
// the properties below are optional
logGroup: 'logGroup',
},
firehose: {
enabled: false,
// the properties below are optional
deliveryStream: 'deliveryStream',
},
s3: {
enabled: false,
// the properties below are optional
bucket: 'bucket',
prefix: 'prefix',
},
},
},
openMonitoring: {
prometheus: {
jmxExporter: {
enabledInBroker: false,
},
nodeExporter: {
enabledInBroker: false,
},
},
},
storageMode: 'storageMode',
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
broker | IResolvable | Broker | |
cluster | string | |
kafka | string | |
number | number | |
client | IResolvable | Client | |
configuration | IResolvable | Configuration | |
current | string | The current version of the MSK cluster. |
encryption | IResolvable | Encryption | |
enhanced | string | |
logging | IResolvable | Logging | |
open | IResolvable | Open | |
storage | string | |
tags? | { [string]: string } | A key-value pair to associate with a resource. |
brokerNodeGroupInfo
Type:
IResolvable
|
Broker
clusterName
Type:
string
kafkaVersion
Type:
string
numberOfBrokerNodes
Type:
number
clientAuthentication?
Type:
IResolvable
|
Client
(optional)
configurationInfo?
Type:
IResolvable
|
Configuration
(optional)
currentVersion?
Type:
string
(optional)
The current version of the MSK cluster.
encryptionInfo?
Type:
IResolvable
|
Encryption
(optional)
enhancedMonitoring?
Type:
string
(optional)
loggingInfo?
Type:
IResolvable
|
Logging
(optional)
openMonitoring?
Type:
IResolvable
|
Open
(optional)
storageMode?
Type:
string
(optional)
tags?
Type:
{ [string]: string }
(optional)
A key-value pair to associate with a resource.