Learn R Programming

paws.database (version 0.1.12)

elasticache_create_cache_subnet_group: Creates a new cache subnet group

Description

Creates a new cache subnet group.

Use this parameter only when you are creating a cluster in an Amazon Virtual Private Cloud (Amazon VPC).

Usage

elasticache_create_cache_subnet_group(CacheSubnetGroupName,
  CacheSubnetGroupDescription, SubnetIds)

Value

A list with the following syntax:

list(
  CacheSubnetGroup = list(
    CacheSubnetGroupName = "string",
    CacheSubnetGroupDescription = "string",
    VpcId = "string",
    Subnets = list(
      list(
        SubnetIdentifier = "string",
        SubnetAvailabilityZone = list(
          Name = "string"
        ),
        SubnetOutpost = list(
          SubnetOutpostArn = "string"
        )
      )
    ),
    ARN = "string"
  )
)

Arguments

CacheSubnetGroupName

[required] A name for the cache subnet group. This value is stored as a lowercase string.

Constraints: Must contain no more than 255 alphanumeric characters or hyphens.

Example: mysubnetgroup

CacheSubnetGroupDescription

[required] A description for the cache subnet group.

SubnetIds

[required] A list of VPC subnet IDs for the cache subnet group.

Request syntax

svc$create_cache_subnet_group(
  CacheSubnetGroupName = "string",
  CacheSubnetGroupDescription = "string",
  SubnetIds = list(
    "string"
  )
)