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.90.0 published on Monday, Dec 4, 2023 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.90.0 published on Monday, Dec 4, 2023 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.MemoryDb.Outputs.SubnetGroupTag>

    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 []SubnetGroupTag

    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<SubnetGroupTag>

    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 SubnetGroupTag[]

    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[SubnetGroupTag]

    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

    SubnetGroupTag

    Key string

    The key for the tag. May not be null.

    Value string

    The tag's value. May be null.

    Key string

    The key for the tag. May not be null.

    Value string

    The tag's value. May be null.

    key String

    The key for the tag. May not be null.

    value String

    The tag's value. May be null.

    key string

    The key for the tag. May not be null.

    value string

    The tag's value. May be null.

    key str

    The key for the tag. May not be null.

    value str

    The tag's value. May be null.

    key String

    The key for the tag. May not be null.

    value String

    The tag's value. May be null.

    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.90.0 published on Monday, Dec 4, 2023 by Pulumi