CfnServerlessCacheSnapshotMixinProps

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

Bases: object

Properties for CfnServerlessCacheSnapshotPropsMixin.

Parameters:
  • 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.

  • serverless_cache_name (Optional[str]) – The name of an existing serverless cache. The snapshot is created from this cache.

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

  • 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.cfn_property_mixins import aws_elasticache as elasticache

cfn_serverless_cache_snapshot_mixin_props = elasticache.CfnServerlessCacheSnapshotMixinProps(
    kms_key_id="kmsKeyId",
    serverless_cache_name="serverlessCacheName",
    serverless_cache_snapshot_name="serverlessCacheSnapshotName",
    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