CfnServerlessCacheSnapshotPropsMixin
- class aws_cdk.cfn_property_mixins.aws_elasticache.CfnServerlessCacheSnapshotPropsMixin(props, *, strategy=None)
Bases:
MixinResource 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:
- 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:
props (
Union[CfnServerlessCacheSnapshotMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
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
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
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:
- 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.
- major_engine_version
The engine version number that the serverless cache is configured with.
- serverless_cache_name
The identifier of the serverless cache.