CfnServerlessCacheSnapshotProps

class aws_cdk.aws_elasticache.CfnServerlessCacheSnapshotProps(*, serverless_cache_name, serverless_cache_snapshot_name, kms_key_id=None, tags=None)

Bases: object

Properties for defining a CfnServerlessCacheSnapshot.

Parameters:
  • serverless_cache_name (str) – The name of an existing serverless cache. The snapshot is created from this cache.

  • serverless_cache_snapshot_name (str) – The name of the serverless cache snapshot. Must be unique for the customer account. This value is stored as a lowercase string.

  • kms_key_id (Optional[str]) – The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot. Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.

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

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscachesnapshot.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 import aws_elasticache as elasticache

cfn_serverless_cache_snapshot_props = elasticache.CfnServerlessCacheSnapshotProps(
    serverless_cache_name="serverlessCacheName",
    serverless_cache_snapshot_name="serverlessCacheSnapshotName",

    # the properties below are optional
    kms_key_id="kmsKeyId",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

kms_key_id

The Amazon Resource Name (ARN) of the AWS KMS key used to encrypt the snapshot.

Provide the key ARN: the resource returns the key ARN on read, so supplying a bare key ID or alias for this createOnly property may be reported as drift by CloudFormation.

See:

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

serverless_cache_name

The name of an existing serverless cache.

The snapshot is created from this cache.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscachesnapshot.html#cfn-elasticache-serverlesscachesnapshot-serverlesscachename

serverless_cache_snapshot_name

The name of the serverless cache snapshot.

Must be unique for the customer account. This value is stored as a lowercase string.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticache-serverlesscachesnapshot.html#cfn-elasticache-serverlesscachesnapshot-serverlesscachesnapshotname

tags

A list of tags to be added to the serverless cache snapshot resource.

See:

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