CfnClusterMixinProps

class aws_cdk.mixins_preview.aws_dsql.mixins.CfnClusterMixinProps(*, deletion_protection_enabled=None, kms_encryption_key=None, multi_region_properties=None, policy_document=None, tags=None)

Bases: object

Properties for CfnClusterPropsMixin.

Parameters:
  • deletion_protection_enabled (Union[bool, IResolvable, None]) – Whether deletion protection is enabled on this cluster.

  • kms_encryption_key (Optional[str]) – The KMS key that encrypts data on the cluster.

  • multi_region_properties (Union[IResolvable, MultiRegionPropertiesProperty, Dict[str, Any], None]) – Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings.

  • policy_document (Optional[str]) – A resource-based policy document in JSON format. Length constraints: Minimum length of 1. Maximum length of 20480 characters (approximately 20KB).

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A map of key and value pairs this cluster is tagged with.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dsql-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_dsql import mixins as dsql_mixins

cfn_cluster_mixin_props = dsql_mixins.CfnClusterMixinProps(
    deletion_protection_enabled=False,
    kms_encryption_key="kmsEncryptionKey",
    multi_region_properties=dsql_mixins.CfnClusterPropsMixin.MultiRegionPropertiesProperty(
        clusters=["clusters"],
        witness_region="witnessRegion"
    ),
    policy_document="policyDocument",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

deletion_protection_enabled

Whether deletion protection is enabled on this cluster.

See:

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

kms_encryption_key

The KMS key that encrypts data on the cluster.

See:

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

multi_region_properties

Defines the structure for multi-Region cluster configurations, containing the witness Region and peered cluster settings.

See:

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

policy_document

A resource-based policy document in JSON format.

Length constraints: Minimum length of 1. Maximum length of 20480 characters (approximately 20KB).

See:

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

tags

A map of key and value pairs this cluster is tagged with.

See:

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