CfnClusterPropsMixin

class aws_cdk.mixins_preview.aws_dax.mixins.CfnClusterPropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a DAX cluster.

All nodes in the cluster run the same DAX caching software.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dax-cluster.html

CloudformationResource:

AWS::DAX::Cluster

Mixin:

true

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 import mixins
from aws_cdk.mixins_preview.aws_dax import mixins as dax_mixins

# tags: Any

cfn_cluster_props_mixin = dax_mixins.CfnClusterPropsMixin(dax_mixins.CfnClusterMixinProps(
    availability_zones=["availabilityZones"],
    cluster_endpoint_encryption_type="clusterEndpointEncryptionType",
    cluster_name="clusterName",
    description="description",
    iam_role_arn="iamRoleArn",
    network_type="networkType",
    node_type="nodeType",
    notification_topic_arn="notificationTopicArn",
    parameter_group_name="parameterGroupName",
    preferred_maintenance_window="preferredMaintenanceWindow",
    replication_factor=123,
    security_group_ids=["securityGroupIds"],
    sse_specification=dax_mixins.CfnClusterPropsMixin.SSESpecificationProperty(
        sse_enabled=False
    ),
    subnet_group_name="subnetGroupName",
    tags=tags
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::DAX::Cluster.

Parameters:
  • props (Union[CfnClusterMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['availabilityZones', 'clusterEndpointEncryptionType', 'clusterName', 'description', 'iamRoleArn', 'networkType', 'nodeType', 'notificationTopicArn', 'parameterGroupName', 'preferredMaintenanceWindow', 'replicationFactor', 'securityGroupIds', 'sseSpecification', 'subnetGroupName', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

SSESpecificationProperty

class CfnClusterPropsMixin.SSESpecificationProperty(*, sse_enabled=None)

Bases: object

Represents the settings used to enable server-side encryption.

Parameters:

sse_enabled (Union[bool, IResolvable, None]) – Indicates whether server-side encryption is enabled (true) or disabled (false) on the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dax-cluster-ssespecification.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_dax import mixins as dax_mixins

s_sESpecification_property = dax_mixins.CfnClusterPropsMixin.SSESpecificationProperty(
    sse_enabled=False
)

Attributes

sse_enabled

Indicates whether server-side encryption is enabled (true) or disabled (false) on the cluster.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dax-cluster-ssespecification.html#cfn-dax-cluster-ssespecification-sseenabled