1. Packages
  2. AWS Native
  3. API Docs
  4. memorydb
  5. getSubnetGroup

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi

aws-native.memorydb.getSubnetGroup

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.103.0 published on Monday, Apr 22, 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:

    SubnetGroupName string
    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
    SubnetGroupName string
    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
    subnetGroupName String
    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
    subnetGroupName string
    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
    subnet_group_name str
    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.
    subnetGroupName String
    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.
    SubnetIds List<string>
    A list of VPC subnet IDs for the subnet group.
    Tags List<Pulumi.AwsNative.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.
    SubnetIds []string
    A list of VPC subnet IDs for the subnet group.
    Tags 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.
    subnetIds List<String>
    A list of VPC subnet IDs for the subnet group.
    tags 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.
    subnetIds string[]
    A list of VPC subnet IDs for the subnet group.
    tags 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.
    tags 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.
    subnetIds List<String>
    A list of VPC subnet IDs for the subnet group.
    tags List<Property Map>
    An array of key-value pairs to apply to this subnet group.

    Supporting Types

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.103.0 published on Monday, Apr 22, 2024 by Pulumi