CfnDBSubnetGroupMixinProps

class aws_cdk.mixins_preview.aws_rds.mixins.CfnDBSubnetGroupMixinProps(*, db_subnet_group_description=None, db_subnet_group_name=None, subnet_ids=None, tags=None)

Bases: object

Properties for CfnDBSubnetGroupPropsMixin.

Parameters:
  • db_subnet_group_description (Optional[str]) – The description for the DB subnet group.

  • db_subnet_group_name (Optional[str]) – The name for the DB subnet group. This value is stored as a lowercase string. Constraints: - Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. - Must not be default. - First character must be a letter. Example: mydbsubnetgroup

  • subnet_ids (Optional[Sequence[str]]) – The EC2 Subnet IDs for the DB subnet group.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags to assign to the DB subnet group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.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.mixins_preview.aws_rds import mixins as rds_mixins

cfn_dBSubnet_group_mixin_props = rds_mixins.CfnDBSubnetGroupMixinProps(
    db_subnet_group_description="dbSubnetGroupDescription",
    db_subnet_group_name="dbSubnetGroupName",
    subnet_ids=["subnetIds"],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

db_subnet_group_description

The description for the DB subnet group.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-dbsubnetgroupdescription

db_subnet_group_name

The name for the DB subnet group. This value is stored as a lowercase string.

Constraints:

  • Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens.

  • Must not be default.

  • First character must be a letter.

Example: mydbsubnetgroup

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbsubnetgroup.html#cfn-rds-dbsubnetgroup-dbsubnetgroupname

subnet_ids

The EC2 Subnet IDs for the DB subnet group.

See:

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

tags

Tags to assign to the DB subnet group.

See:

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