CfnSubnetGroupProps

class aws_cdk.aws_elasticache.CfnSubnetGroupProps(*, cache_subnet_group_name=None, description, subnet_ids, tags=None)

Bases: object

Properties for defining a AWS::ElastiCache::SubnetGroup.

Parameters
  • cache_subnet_group_name (Optional[str]) – AWS::ElastiCache::SubnetGroup.CacheSubnetGroupName.

  • description (str) – AWS::ElastiCache::SubnetGroup.Description.

  • subnet_ids (Sequence[str]) – AWS::ElastiCache::SubnetGroup.SubnetIds.

  • tags (Optional[Sequence[CfnTag]]) – AWS::ElastiCache::SubnetGroup.Tags.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_elasticache as elasticache

cfn_subnet_group_props = elasticache.CfnSubnetGroupProps(
    description="description",
    subnet_ids=["subnetIds"],

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

Attributes

cache_subnet_group_name

AWS::ElastiCache::SubnetGroup.CacheSubnetGroupName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-cachesubnetgroupname

Return type

Optional[str]

description

AWS::ElastiCache::SubnetGroup.Description.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-description

Return type

str

subnet_ids

AWS::ElastiCache::SubnetGroup.SubnetIds.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticache-subnetgroup.html#cfn-elasticache-subnetgroup-subnetids

Return type

List[str]

tags

AWS::ElastiCache::SubnetGroup.Tags.

Link

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

Return type

Optional[List[CfnTag]]