We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
aws-native.memorydb.getSubnetGroup
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi
The AWS::MemoryDB::SubnetGroup resource creates an Amazon MemoryDB Subnet Group.
Using getSubnetGroup
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 getSubnetGroup(args: GetSubnetGroupArgs, opts?: InvokeOptions): Promise<GetSubnetGroupResult>
function getSubnetGroupOutput(args: GetSubnetGroupOutputArgs, opts?: InvokeOptions): Output<GetSubnetGroupResult>
def get_subnet_group(subnet_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSubnetGroupResult
def get_subnet_group_output(subnet_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSubnetGroupResult]
func LookupSubnetGroup(ctx *Context, args *LookupSubnetGroupArgs, opts ...InvokeOption) (*LookupSubnetGroupResult, error)
func LookupSubnetGroupOutput(ctx *Context, args *LookupSubnetGroupOutputArgs, opts ...InvokeOption) LookupSubnetGroupResultOutput
> Note: This function is named LookupSubnetGroup
in the Go SDK.
public static class GetSubnetGroup
{
public static Task<GetSubnetGroupResult> InvokeAsync(GetSubnetGroupArgs args, InvokeOptions? opts = null)
public static Output<GetSubnetGroupResult> Invoke(GetSubnetGroupInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSubnetGroupResult> getSubnetGroup(GetSubnetGroupArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:memorydb:getSubnetGroup
arguments:
# arguments dictionary
The following arguments are supported:
- Subnet
Group stringName - The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
- Subnet
Group stringName - The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
- subnet
Group StringName - The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
- subnet
Group stringName - The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
- subnet_
group_ strname - The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
- subnet
Group StringName - The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
getSubnetGroup Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) of the subnet group.
- Description string
- An optional description of the subnet group.
- Subnet
Ids List<string> - A list of VPC subnet IDs for the subnet group.
- List<Pulumi.
Aws Native. Outputs. Tag> - An array of key-value pairs to apply to this subnet group.
- Arn string
- The Amazon Resource Name (ARN) of the subnet group.
- Description string
- An optional description of the subnet group.
- Subnet
Ids []string - A list of VPC subnet IDs for the subnet group.
- Tag
- An array of key-value pairs to apply to this subnet group.
- arn String
- The Amazon Resource Name (ARN) of the subnet group.
- description String
- An optional description of the subnet group.
- subnet
Ids List<String> - A list of VPC subnet IDs for the subnet group.
- List<Tag>
- An array of key-value pairs to apply to this subnet group.
- arn string
- The Amazon Resource Name (ARN) of the subnet group.
- description string
- An optional description of the subnet group.
- subnet
Ids string[] - A list of VPC subnet IDs for the subnet group.
- Tag[]
- An array of key-value pairs to apply to this subnet group.
- arn str
- The Amazon Resource Name (ARN) of the subnet group.
- description str
- An optional description of the subnet group.
- subnet_
ids Sequence[str] - A list of VPC subnet IDs for the subnet group.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this subnet group.
- arn String
- The Amazon Resource Name (ARN) of the subnet group.
- description String
- An optional description of the subnet group.
- subnet
Ids List<String> - A list of VPC subnet IDs for the subnet group.
- List<Property Map>
- An array of key-value pairs to apply to this 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.
AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi