CfnSnapshotMixinProps
- class aws_cdk.cfn_property_mixins.aws_elasticache.CfnSnapshotMixinProps(*, cache_cluster_id=None, kms_key_id=None, replication_group_id=None, snapshot_name=None, tags=None)
Bases:
objectProperties for CfnSnapshotPropsMixin.
- Parameters:
cache_cluster_id (
Optional[str]) – The identifier of an existing cluster to create a snapshot from. The snapshot is created from this cluster.kms_key_id (
Optional[str]) – The ID of the KMS key used to encrypt the snapshot.replication_group_id (
Optional[str]) – The identifier of an existing replication group to create a snapshot from. The snapshot is created from this replication group.snapshot_name (
Optional[str]) – The name of a snapshot. Must be unique within the customer account.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-elasticache-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_elasticache as elasticache cfn_snapshot_mixin_props = elasticache.CfnSnapshotMixinProps( cache_cluster_id="cacheClusterId", kms_key_id="kmsKeyId", replication_group_id="replicationGroupId", snapshot_name="snapshotName", tags=[CfnTag( key="key", value="value" )] )
Attributes
- cache_cluster_id
The identifier of an existing cluster to create a snapshot from.
The snapshot is created from this cluster.
- kms_key_id
The ID of the KMS key used to encrypt the snapshot.
- replication_group_id
The identifier of an existing replication group to create a snapshot from.
The snapshot is created from this replication group.
- snapshot_name
The name of a snapshot.
Must be unique within the customer account.
- tags
A list of tags to be added to this resource.