CfnSubnetGroupProps

class aws_cdk.aws_memorydb.CfnSubnetGroupProps(*, subnet_group_name, subnet_ids, description=None, tags=None)

Bases: object

Properties for defining a CfnSubnetGroup.

Parameters:
  • subnet_group_name (str) – The name of the subnet group to be used for the cluster .

  • subnet_ids (Sequence[str]) – A list of Amazon VPC subnet IDs for the subnet group.

  • description (Optional[str]) – A description of the subnet group.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – An array of key-value pairs to apply to this resource. For more information, see Tag .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html

ExampleMetadata:

fixture=_generated

Example:

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

cfn_subnet_group_props = memorydb.CfnSubnetGroupProps(
    subnet_group_name="subnetGroupName",
    subnet_ids=["subnetIds"],

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

Attributes

description

A description of the subnet group.

Link:

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

subnet_group_name

The name of the subnet group to be used for the cluster .

Link:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-memorydb-subnetgroup.html#cfn-memorydb-subnetgroup-subnetgroupname

subnet_ids

A list of Amazon VPC subnet IDs for the subnet group.

Link:

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

tags

An array of key-value pairs to apply to this resource.

For more information, see Tag .

Link:

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