CfnServerlessCacheSnapshotPropsMixin

class aws_cdk.cfn_property_mixins.aws_elasticache.CfnServerlessCacheSnapshotPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::ElastiCache::ServerlessCacheSnapshot.

A serverless cache snapshot is a point-in-time backup of an ElastiCache serverless cache. Available for Valkey, Redis OSS and Serverless Memcached only.

See:

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

CloudformationResource:

AWS::ElastiCache::ServerlessCacheSnapshot

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

# merge_strategy: cdk.IMergeStrategy

cfn_serverless_cache_snapshot_props_mixin = elasticache.CfnServerlessCacheSnapshotPropsMixin(elasticache.CfnServerlessCacheSnapshotMixinProps(
    kms_key_id="kmsKeyId",
    serverless_cache_name="serverlessCacheName",
    serverless_cache_snapshot_name="serverlessCacheSnapshotName",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )]
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::ElastiCache::ServerlessCacheSnapshot.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['kmsKeyId', 'serverlessCacheName', 'serverlessCacheSnapshotName', 'tags']

Static Methods

classmethod is_mixin(x)

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.

ServerlessCacheConfigurationProperty

class CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty(*, engine=None, major_engine_version=None, serverless_cache_name=None)

Bases: object

Parameters:
  • engine (Optional[str]) – The engine that the serverless cache is configured with.

  • major_engine_version (Optional[str]) – The engine version number that the serverless cache is configured with.

  • serverless_cache_name (Optional[str]) – The identifier of the serverless cache.

See:

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

serverless_cache_configuration_property = elasticache.CfnServerlessCacheSnapshotPropsMixin.ServerlessCacheConfigurationProperty(
    engine="engine",
    major_engine_version="majorEngineVersion",
    serverless_cache_name="serverlessCacheName"
)

Attributes

engine

The engine that the serverless cache is configured with.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscachesnapshot-serverlesscacheconfiguration.html#cfn-elasticache-serverlesscachesnapshot-serverlesscacheconfiguration-engine

major_engine_version

The engine version number that the serverless cache is configured with.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-serverlesscachesnapshot-serverlesscacheconfiguration.html#cfn-elasticache-serverlesscachesnapshot-serverlesscacheconfiguration-majorengineversion

serverless_cache_name

The identifier of the serverless cache.

See:

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