CfnSubnetGroupMixinProps
- class aws_cdk.mixins_preview.aws_elasticache.mixins.CfnSubnetGroupMixinProps(*, cache_subnet_group_name=None, description=None, subnet_ids=None, tags=None)
Bases:
objectProperties for CfnSubnetGroupPropsMixin.
- Parameters:
cache_subnet_group_name (
Optional[str]) – The name for the cache subnet group. This value is stored as a lowercase string. Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Example:mysubnetgroupdescription (
Optional[str]) – The description for the cache subnet group.subnet_ids (
Optional[Sequence[str]]) – The EC2 subnet IDs for the cache subnet group.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A tag that can be added to an ElastiCache subnet group. Tags are composed of a Key/Value pair. You can use tags to categorize and track all your subnet groups. A tag with a null Value is permitted.
- 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.mixins_preview.aws_elasticache import mixins as elasticache_mixins cfn_subnet_group_mixin_props = elasticache_mixins.CfnSubnetGroupMixinProps( cache_subnet_group_name="cacheSubnetGroupName", description="description", subnet_ids=["subnetIds"], tags=[CfnTag( key="key", value="value" )] )
Attributes
- cache_subnet_group_name
The name for the cache subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens.
Example:
mysubnetgroup
- description
The description for the cache subnet group.
- subnet_ids
The EC2 subnet IDs for the cache subnet group.
- tags
A tag that can be added to an ElastiCache subnet group.
Tags are composed of a Key/Value pair. You can use tags to categorize and track all your subnet groups. A tag with a null Value is permitted.