We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi
Resource Type definition for AWS::DocDB::DBSubnetGroup
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?: InvokeOutputOptions): 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: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = 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 Output<GetDbSubnetGroupResult> Invoke(GetDbSubnetGroupInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDbSubnetGroupResult> getDbSubnetGroup(GetDbSubnetGroupArgs args, InvokeOptions options)
public static Output<GetDbSubnetGroupResult> getDbSubnetGroup(GetDbSubnetGroupArgs args, InvokeOptions options)
public static Output<GetDbSubnetGroupResult> getDbSubnetGroup(GetDbSubnetGroupArgs args, InvokeOutputOptions options)
fn::invoke:
function: aws-native:docdb:getDbSubnetGroup
arguments:
# arguments dictionarydata "aws-native_docdb_get_db_subnet_group" "name" {
# arguments
}The following arguments are supported:
- Db
Subnet stringGroup Name - The name for the db subnet group. This value is stored as a lowercase string.
- Db
Subnet stringGroup Name - The name for the db subnet group. This value is stored as a lowercase string.
- db_
subnet_ stringgroup_ name - The name for the db subnet group. This value is stored as a lowercase string.
- db
Subnet StringGroup Name - The name for the db subnet group. This value is stored as a lowercase string.
- db
Subnet stringGroup Name - The name for the db subnet group. This value is stored as a lowercase string.
- db_
subnet_ strgroup_ name - The name for the db subnet group. This value is stored as a lowercase string.
- db
Subnet StringGroup Name - The name for the db subnet group. This value is stored as a lowercase string.
getDbSubnetGroup Result
The following output properties are available:
- Db
Subnet stringGroup Description - The description for the subnet group.
- Subnet
Ids List<string> - One or more subnet IDs to be assigned to the db subnet group.
-
List<Pulumi.
Aws Native. Outputs. Tag> - One or more tags to be assigned to the db subnet group
- Db
Subnet stringGroup Description - The description for the subnet group.
- Subnet
Ids []string - One or more subnet IDs to be assigned to the db subnet group.
- Tag
- One or more tags to be assigned to the db subnet group
- db_
subnet_ stringgroup_ description - The description for the subnet group.
- subnet_
ids list(string) - One or more subnet IDs to be assigned to the db subnet group.
- list(object)
- One or more tags to be assigned to the db subnet group
- db
Subnet StringGroup Description - The description for the subnet group.
- subnet
Ids List<String> - One or more subnet IDs to be assigned to the db subnet group.
- List<Tag>
- One or more tags to be assigned to the db subnet group
- db
Subnet stringGroup Description - The description for the subnet group.
- subnet
Ids string[] - One or more subnet IDs to be assigned to the db subnet group.
- Tag[]
- One or more tags to be assigned to the db subnet group
- db_
subnet_ strgroup_ description - The description for the subnet group.
- subnet_
ids Sequence[str] - One or more subnet IDs to be assigned to the db subnet group.
- Sequence[root_Tag]
- One or more tags to be assigned to the db subnet group
- db
Subnet StringGroup Description - The description for the subnet group.
- subnet
Ids List<String> - One or more subnet IDs to be assigned to the db subnet group.
- List<Property Map>
- One or more tags to be assigned to the 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.
Viewing docs for AWS Cloud Control v1.79.0
published on Monday, Sep 14, 2026 by Pulumi
published on Monday, Sep 14, 2026 by Pulumi