aws dax create-subnet-group
Creates a new subnet group. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To create a DAX subnet group
The following create-subnet-group example creates a subnet group with the specified settings.
aws dax create-subnet-group --subnet-group-name daxSubnetGroup --subnet-ids subnet-11111111 subnet-22222222Identify--subnet-group-nameA name for the subnet group.--subnet-idsA list of VPC subnet IDs for the subnet group.Its output
{
"SubnetGroup": {
"SubnetGroupName": "daxSubnetGroup",
"VpcId": "vpc-05a1fa8e00c325226",
"Subnets": [
{
"SubnetIdentifier": "subnet-11111111",
"SubnetAvailabilityZone": "us-west-2b"
},
{
"SubnetIdentifier": "subnet-22222222",
"SubnetAvailabilityZone": "us-west-2c"
}
]
}
}For more information, see Creating a DAX cluster using the AWS CLI in the Amazon DynamoDB Developer Guide.
Options
--descriptionA description for the subnet group--subnet-group-nameA name for the subnet group.--subnet-idsA list of VPC subnet IDs for the subnet group.