We recommend new projects start with resources from the AWS provider.
aws-native.neptune.getDbSubnetGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::Neptune::DBSubnetGroup type creates an Amazon Neptune DB subnet group. Subnet groups must contain at least two subnets in two different Availability Zones in the same AWS 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(db_subnet_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDbSubnetGroupResult
def get_db_subnet_group_output(db_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)
public static Output<GetDbSubnetGroupResult> getDbSubnetGroup(GetDbSubnetGroupArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:neptune:getDbSubnetGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Db
Subnet stringGroup Name The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default".
Example: mysubnetgroup
- Db
Subnet stringGroup Name The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default".
Example: mysubnetgroup
- db
Subnet StringGroup Name The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default".
Example: mysubnetgroup
- db
Subnet stringGroup Name The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default".
Example: mysubnetgroup
- db_
subnet_ strgroup_ name The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default".
Example: mysubnetgroup
- db
Subnet StringGroup Name The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 lowercase alphanumeric characters or hyphens. Must not be "Default".
Example: mysubnetgroup
getDbSubnetGroup Result
The following output properties are available:
- Db
Subnet stringGroup Description - The description for the DB subnet group.
- Subnet
Ids List<string> - The Amazon EC2 subnet IDs for the DB subnet group.
- List<Pulumi.
Aws Native. Outputs. Tag> - An optional array of key-value pairs to apply to this DB subnet group.
- Db
Subnet stringGroup Description - The description for the DB subnet group.
- Subnet
Ids []string - The Amazon EC2 subnet IDs for the DB subnet group.
- Tag
- An optional array of key-value pairs to apply to this DB subnet group.
- db
Subnet StringGroup Description - The description for the DB subnet group.
- subnet
Ids List<String> - The Amazon EC2 subnet IDs for the DB subnet group.
- List<Tag>
- An optional array of key-value pairs to apply to this DB subnet group.
- db
Subnet stringGroup Description - The description for the DB subnet group.
- subnet
Ids string[] - The Amazon EC2 subnet IDs for the DB subnet group.
- Tag[]
- An optional array of key-value pairs to apply to this DB subnet group.
- db_
subnet_ strgroup_ description - The description for the DB subnet group.
- subnet_
ids Sequence[str] - The Amazon EC2 subnet IDs for the DB subnet group.
- Sequence[root_Tag]
- An optional array of key-value pairs to apply to this DB subnet group.
- db
Subnet StringGroup Description - The description for the DB subnet group.
- subnet
Ids List<String> - The Amazon EC2 subnet IDs for the DB subnet group.
- List<Property Map>
- An optional array of key-value pairs to apply to this DB subnet group.
Supporting Types
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.