aws-native.rds.DBSubnetGroup
Explore with Pulumi AI
The AWS::RDS::DBSubnetGroup resource creates a database subnet group. Subnet groups must contain at least two subnets in two different Availability Zones in the same region.
Create DBSubnetGroup Resource
new DBSubnetGroup(name: string, args: DBSubnetGroupArgs, opts?: CustomResourceOptions);
@overload
def DBSubnetGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
d_b_subnet_group_description: Optional[str] = None,
d_b_subnet_group_name: Optional[str] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[DBSubnetGroupTagArgs]] = None)
@overload
def DBSubnetGroup(resource_name: str,
args: DBSubnetGroupArgs,
opts: Optional[ResourceOptions] = None)
func NewDBSubnetGroup(ctx *Context, name string, args DBSubnetGroupArgs, opts ...ResourceOption) (*DBSubnetGroup, error)
public DBSubnetGroup(string name, DBSubnetGroupArgs args, CustomResourceOptions? opts = null)
public DBSubnetGroup(String name, DBSubnetGroupArgs args)
public DBSubnetGroup(String name, DBSubnetGroupArgs args, CustomResourceOptions options)
type: aws-native:rds:DBSubnetGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DBSubnetGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DBSubnetGroupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DBSubnetGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DBSubnetGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DBSubnetGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DBSubnetGroup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The DBSubnetGroup resource accepts the following input properties:
- DBSubnet
Group stringDescription - Subnet
Ids List<string> - DBSubnet
Group stringName - List<Pulumi.
Aws Native. RDS. Inputs. DBSubnet Group Tag Args> An array of key-value pairs to apply to this resource.
- DBSubnet
Group stringDescription - Subnet
Ids []string - DBSubnet
Group stringName - []DBSubnet
Group Tag Args An array of key-value pairs to apply to this resource.
- d
BSubnet StringGroup Description - subnet
Ids List<String> - d
BSubnet StringGroup Name - List<DBSubnet
Group Tag Args> An array of key-value pairs to apply to this resource.
- d
BSubnet stringGroup Description - subnet
Ids string[] - d
BSubnet stringGroup Name - DBSubnet
Group Tag Args[] An array of key-value pairs to apply to this resource.
- d_
b_ strsubnet_ group_ description - subnet_
ids Sequence[str] - d_
b_ strsubnet_ group_ name - Sequence[DBSubnet
Group Tag Args] An array of key-value pairs to apply to this resource.
- d
BSubnet StringGroup Description - subnet
Ids List<String> - d
BSubnet StringGroup Name - List<Property Map>
An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the DBSubnetGroup resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Supporting Types
DBSubnetGroupTag
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0