Skip to content

RDS  >  Structures  >  DBSubnetGroup

DBSubnetGroup

Structure Class

DBSubnetGroup dataclass

Bases: _SerdeShape

Contains the details of an Amazon RDS DB subnet group.

This data type is used as a response element in the DescribeDBSubnetGroups action.

Attributes

db_subnet_group_arn class-attribute instance-attribute
db_subnet_group_arn: str | None = ...

The Amazon Resource Name (ARN) for the DB subnet group.

db_subnet_group_description class-attribute instance-attribute
db_subnet_group_description: str | None = ...

Provides the description of the DB subnet group.

db_subnet_group_name class-attribute instance-attribute
db_subnet_group_name: str | None = ...

The name of the DB subnet group.

subnet_group_status class-attribute instance-attribute
subnet_group_status: str | None = ...

Provides the status of the DB subnet group.

subnets class-attribute instance-attribute
subnets: list[Subnet] | None = ...

Contains a list of Subnet elements. The list of subnets shown here might not reflect the current state of your VPC. For the most up-to-date information, we recommend checking your VPC configuration directly.

supported_network_types class-attribute instance-attribute
supported_network_types: list[str] | None = ...

The network type of the DB subnet group.

Valid values:

  • IPV4

  • DUAL

A DBSubnetGroup can support only the IPv4 protocol or the IPv4 and the IPv6 protocols (DUAL).

For more information, see Working with a DB instance in a VPC in the Amazon RDS User Guide.

vpc_id class-attribute instance-attribute
vpc_id: str | None = ...

Provides the VpcId of the DB subnet group.