aws-native logo
AWS Native v0.54.0, Mar 21 23

aws-native.rds.getDBSubnetGroup

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.

Using getDBSubnetGroup

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDBSubnetGroup(args: GetDBSubnetGroupArgs, opts?: InvokeOptions): Promise<GetDBSubnetGroupResult>
function getDBSubnetGroupOutput(args: GetDBSubnetGroupOutputArgs, opts?: InvokeOptions): Output<GetDBSubnetGroupResult>
def get_db_subnet_group(d_b_subnet_group_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDBSubnetGroupResult
def get_db_subnet_group_output(d_b_subnet_group_name: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDBSubnetGroupResult]
func LookupDBSubnetGroup(ctx *Context, args *LookupDBSubnetGroupArgs, opts ...InvokeOption) (*LookupDBSubnetGroupResult, error)
func LookupDBSubnetGroupOutput(ctx *Context, args *LookupDBSubnetGroupOutputArgs, opts ...InvokeOption) LookupDBSubnetGroupResultOutput

> Note: This function is named LookupDBSubnetGroup in the Go SDK.

public static class GetDBSubnetGroup 
{
    public static Task<GetDBSubnetGroupResult> InvokeAsync(GetDBSubnetGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetDBSubnetGroupResult> Invoke(GetDBSubnetGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDBSubnetGroupResult> getDBSubnetGroup(GetDBSubnetGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: aws-native:rds:getDBSubnetGroup
  arguments:
    # arguments dictionary

The following arguments are supported:

getDBSubnetGroup Result

The following output properties are available:

DBSubnetGroupDescription string
Tags List<Pulumi.AwsNative.RDS.Outputs.DBSubnetGroupTag>

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

DBSubnetGroupDescription string
Tags []DBSubnetGroupTag

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

dBSubnetGroupDescription String
tags List<DBSubnetGroupTag>

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

dBSubnetGroupDescription string
tags DBSubnetGroupTag[]

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

d_b_subnet_group_description str
tags Sequence[DBSubnetGroupTag]

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

dBSubnetGroupDescription String
tags List<Property Map>

An array of key-value pairs to apply to this 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