CfnClusterMixinProps

class aws_cdk.mixins_preview.aws_msk.mixins.CfnClusterMixinProps(*, broker_node_group_info=None, client_authentication=None, cluster_name=None, configuration_info=None, current_version=None, encryption_info=None, enhanced_monitoring=None, kafka_version=None, logging_info=None, number_of_broker_nodes=None, open_monitoring=None, rebalancing=None, storage_mode=None, tags=None)

Bases: object

Properties for CfnClusterPropsMixin.

Parameters:
  • broker_node_group_info (Union[IResolvable, BrokerNodeGroupInfoProperty, Dict[str, Any], None]) – Information about the broker nodes in the cluster.

  • client_authentication (Union[IResolvable, ClientAuthenticationProperty, Dict[str, Any], None]) – Includes all client authentication related information.

  • cluster_name (Optional[str]) – The name of the cluster.

  • configuration_info (Union[IResolvable, ConfigurationInfoProperty, Dict[str, Any], None]) – Represents the configuration that you want MSK to use for the cluster.

  • current_version (Optional[str])

  • encryption_info (Union[IResolvable, EncryptionInfoProperty, Dict[str, Any], None]) – Includes all encryption-related information.

  • enhanced_monitoring (Optional[str]) – Specifies the level of monitoring for the MSK cluster.

  • kafka_version (Optional[str]) – The version of Apache Kafka. You can use Amazon MSK to create clusters that use supported Apache Kafka versions .

  • logging_info (Union[IResolvable, LoggingInfoProperty, Dict[str, Any], None]) – Logging info details for the cluster.

  • number_of_broker_nodes (Union[int, float, None]) – The number of broker nodes in the cluster.

  • open_monitoring (Union[IResolvable, OpenMonitoringProperty, Dict[str, Any], None]) – The settings for open monitoring.

  • rebalancing (Union[IResolvable, RebalancingProperty, Dict[str, Any], None])

  • storage_mode (Optional[str]) – This controls storage mode for supported storage tiers.

  • tags (Optional[Mapping[str, str]]) – An arbitrary set of tags (key-value pairs) for the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.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.mixins_preview.aws_msk import mixins as msk_mixins

cfn_cluster_mixin_props = msk_mixins.CfnClusterMixinProps(
    broker_node_group_info=msk_mixins.CfnClusterPropsMixin.BrokerNodeGroupInfoProperty(
        broker_az_distribution="brokerAzDistribution",
        client_subnets=["clientSubnets"],
        connectivity_info=msk_mixins.CfnClusterPropsMixin.ConnectivityInfoProperty(
            public_access=msk_mixins.CfnClusterPropsMixin.PublicAccessProperty(
                type="type"
            ),
            vpc_connectivity=msk_mixins.CfnClusterPropsMixin.VpcConnectivityProperty(
                client_authentication=msk_mixins.CfnClusterPropsMixin.VpcConnectivityClientAuthenticationProperty(
                    sasl=msk_mixins.CfnClusterPropsMixin.VpcConnectivitySaslProperty(
                        iam=msk_mixins.CfnClusterPropsMixin.VpcConnectivityIamProperty(
                            enabled=False
                        ),
                        scram=msk_mixins.CfnClusterPropsMixin.VpcConnectivityScramProperty(
                            enabled=False
                        )
                    ),
                    tls=msk_mixins.CfnClusterPropsMixin.VpcConnectivityTlsProperty(
                        enabled=False
                    )
                )
            )
        ),
        instance_type="instanceType",
        security_groups=["securityGroups"],
        storage_info=msk_mixins.CfnClusterPropsMixin.StorageInfoProperty(
            ebs_storage_info=msk_mixins.CfnClusterPropsMixin.EBSStorageInfoProperty(
                provisioned_throughput=msk_mixins.CfnClusterPropsMixin.ProvisionedThroughputProperty(
                    enabled=False,
                    volume_throughput=123
                ),
                volume_size=123
            )
        )
    ),
    client_authentication=msk_mixins.CfnClusterPropsMixin.ClientAuthenticationProperty(
        sasl=msk_mixins.CfnClusterPropsMixin.SaslProperty(
            iam=msk_mixins.CfnClusterPropsMixin.IamProperty(
                enabled=False
            ),
            scram=msk_mixins.CfnClusterPropsMixin.ScramProperty(
                enabled=False
            )
        ),
        tls=msk_mixins.CfnClusterPropsMixin.TlsProperty(
            certificate_authority_arn_list=["certificateAuthorityArnList"],
            enabled=False
        ),
        unauthenticated=msk_mixins.CfnClusterPropsMixin.UnauthenticatedProperty(
            enabled=False
        )
    ),
    cluster_name="clusterName",
    configuration_info=msk_mixins.CfnClusterPropsMixin.ConfigurationInfoProperty(
        arn="arn",
        revision=123
    ),
    current_version="currentVersion",
    encryption_info=msk_mixins.CfnClusterPropsMixin.EncryptionInfoProperty(
        encryption_at_rest=msk_mixins.CfnClusterPropsMixin.EncryptionAtRestProperty(
            data_volume_kms_key_id="dataVolumeKmsKeyId"
        ),
        encryption_in_transit=msk_mixins.CfnClusterPropsMixin.EncryptionInTransitProperty(
            client_broker="clientBroker",
            in_cluster=False
        )
    ),
    enhanced_monitoring="enhancedMonitoring",
    kafka_version="kafkaVersion",
    logging_info=msk_mixins.CfnClusterPropsMixin.LoggingInfoProperty(
        broker_logs=msk_mixins.CfnClusterPropsMixin.BrokerLogsProperty(
            cloud_watch_logs=msk_mixins.CfnClusterPropsMixin.CloudWatchLogsProperty(
                enabled=False,
                log_group="logGroup"
            ),
            firehose=msk_mixins.CfnClusterPropsMixin.FirehoseProperty(
                delivery_stream="deliveryStream",
                enabled=False
            ),
            s3=msk_mixins.CfnClusterPropsMixin.S3Property(
                bucket="bucket",
                enabled=False,
                prefix="prefix"
            )
        )
    ),
    number_of_broker_nodes=123,
    open_monitoring=msk_mixins.CfnClusterPropsMixin.OpenMonitoringProperty(
        prometheus=msk_mixins.CfnClusterPropsMixin.PrometheusProperty(
            jmx_exporter=msk_mixins.CfnClusterPropsMixin.JmxExporterProperty(
                enabled_in_broker=False
            ),
            node_exporter=msk_mixins.CfnClusterPropsMixin.NodeExporterProperty(
                enabled_in_broker=False
            )
        )
    ),
    rebalancing=msk_mixins.CfnClusterPropsMixin.RebalancingProperty(
        status="status"
    ),
    storage_mode="storageMode",
    tags={
        "tags_key": "tags"
    }
)

Attributes

broker_node_group_info

Information about the broker nodes in the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-brokernodegroupinfo

client_authentication

Includes all client authentication related information.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-clientauthentication

cluster_name

The name of the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-clustername

configuration_info

Represents the configuration that you want MSK to use for the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-configurationinfo

current_version

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-currentversion

Type:

see

encryption_info

Includes all encryption-related information.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-encryptioninfo

enhanced_monitoring

Specifies the level of monitoring for the MSK cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-enhancedmonitoring

kafka_version

The version of Apache Kafka.

You can use Amazon MSK to create clusters that use supported Apache Kafka versions .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-kafkaversion

logging_info

Logging info details for the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-logginginfo

number_of_broker_nodes

The number of broker nodes in the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-numberofbrokernodes

open_monitoring

The settings for open monitoring.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-openmonitoring

rebalancing

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-rebalancing

Type:

see

storage_mode

This controls storage mode for supported storage tiers.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-storagemode

tags

An arbitrary set of tags (key-value pairs) for the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-cluster.html#cfn-msk-cluster-tags