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

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

AWS Native v0.64.0 published on Friday, Jun 2, 2023 by Pulumi

aws-native.memorydb.SubnetGroup

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.64.0 published on Friday, Jun 2, 2023 by Pulumi

    The AWS::MemoryDB::SubnetGroup resource creates an Amazon MemoryDB Subnet Group.

    Create SubnetGroup Resource

    new SubnetGroup(name: string, args: SubnetGroupArgs, opts?: CustomResourceOptions);
    @overload
    def SubnetGroup(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    description: Optional[str] = None,
                    subnet_group_name: Optional[str] = None,
                    subnet_ids: Optional[Sequence[str]] = None,
                    tags: Optional[Sequence[SubnetGroupTagArgs]] = None)
    @overload
    def SubnetGroup(resource_name: str,
                    args: SubnetGroupArgs,
                    opts: Optional[ResourceOptions] = None)
    func NewSubnetGroup(ctx *Context, name string, args SubnetGroupArgs, opts ...ResourceOption) (*SubnetGroup, error)
    public SubnetGroup(string name, SubnetGroupArgs args, CustomResourceOptions? opts = null)
    public SubnetGroup(String name, SubnetGroupArgs args)
    public SubnetGroup(String name, SubnetGroupArgs args, CustomResourceOptions options)
    
    type: aws-native:memorydb:SubnetGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SubnetGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SubnetGroupArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SubnetGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SubnetGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SubnetGroupArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    SubnetGroup Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The SubnetGroup resource accepts the following input properties:

    SubnetIds List<string>

    A list of VPC subnet IDs for the subnet group.

    Description string

    An optional description of the subnet group.

    SubnetGroupName string

    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.

    Tags List<Pulumi.AwsNative.MemoryDB.Inputs.SubnetGroupTagArgs>

    An array of key-value pairs to apply to this subnet group.

    SubnetIds []string

    A list of VPC subnet IDs for the subnet group.

    Description string

    An optional description of the subnet group.

    SubnetGroupName string

    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.

    Tags []SubnetGroupTagArgs

    An array of key-value pairs to apply to this subnet group.

    subnetIds List<String>

    A list of VPC subnet IDs for the subnet group.

    description String

    An optional description of the subnet group.

    subnetGroupName String

    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.

    tags List<SubnetGroupTagArgs>

    An array of key-value pairs to apply to this subnet group.

    subnetIds string[]

    A list of VPC subnet IDs for the subnet group.

    description string

    An optional description of the subnet group.

    subnetGroupName string

    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.

    tags SubnetGroupTagArgs[]

    An array of key-value pairs to apply to this subnet group.

    subnet_ids Sequence[str]

    A list of VPC subnet IDs for the subnet group.

    description str

    An optional description of the subnet group.

    subnet_group_name str

    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.

    tags Sequence[SubnetGroupTagArgs]

    An array of key-value pairs to apply to this subnet group.

    subnetIds List<String>

    A list of VPC subnet IDs for the subnet group.

    description String

    An optional description of the subnet group.

    subnetGroupName String

    The name of the subnet group. This value must be unique as it also serves as the subnet group identifier.

    tags List<Property Map>

    An array of key-value pairs to apply to this subnet group.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SubnetGroup resource produces the following output properties:

    ARN string

    The Amazon Resource Name (ARN) of the subnet group.

    Id string

    The provider-assigned unique ID for this managed resource.

    ARN string

    The Amazon Resource Name (ARN) of the subnet group.

    Id string

    The provider-assigned unique ID for this managed resource.

    aRN String

    The Amazon Resource Name (ARN) of the subnet group.

    id String

    The provider-assigned unique ID for this managed resource.

    aRN string

    The Amazon Resource Name (ARN) of the subnet group.

    id string

    The provider-assigned unique ID for this managed resource.

    a_rn str

    The Amazon Resource Name (ARN) of the subnet group.

    id str

    The provider-assigned unique ID for this managed resource.

    aRN String

    The Amazon Resource Name (ARN) of the subnet group.

    id String

    The provider-assigned unique ID for this managed resource.

    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.64.0 published on Friday, Jun 2, 2023 by Pulumi