CfnSnapshotMixinProps

class aws_cdk.cfn_property_mixins.aws_memorydb.CfnSnapshotMixinProps(*, cluster_name=None, kms_key_id=None, snapshot_name=None, tags=None)

Bases: object

Properties for CfnSnapshotPropsMixin.

Parameters:
  • cluster_name (Optional[str]) – The name of the cluster from which the snapshot was taken.

  • kms_key_id (Optional[str]) – The ID of the KMS key used to encrypt the snapshot.

  • snapshot_name (Optional[str]) – The name of the snapshot.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A list of tags to be added to this resource.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-snapshot.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_memorydb as memorydb

cfn_snapshot_mixin_props = memorydb.CfnSnapshotMixinProps(
    cluster_name="clusterName",
    kms_key_id="kmsKeyId",
    snapshot_name="snapshotName",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

cluster_name

The name of the cluster from which the snapshot was taken.

See:

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

kms_key_id

The ID of the KMS key used to encrypt the snapshot.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-snapshot.html#cfn-memorydb-snapshot-kmskeyid

snapshot_name

The name of the snapshot.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-snapshot.html#cfn-memorydb-snapshot-snapshotname

tags

A list of tags to be added to this resource.

See:

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