NAME
Paws::RDS::CreateDBSubnetGroup - Arguments for method CreateDBSubnetGroup on Paws::RDS
DESCRIPTION
This class represents the parameters used for calling the method CreateDBSubnetGroup on the Amazon Relational Database Service service. Use the attributes of this class as arguments to method CreateDBSubnetGroup.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDBSubnetGroup.
SYNOPSIS
my $rds = Paws->service('RDS');
# To create a DB subnet group.
# This example creates a DB subnet group.
my $CreateDBSubnetGroupResult = $rds->CreateDBSubnetGroup(
'DBSubnetGroupDescription' => 'My DB subnet group',
'DBSubnetGroupName' => 'mydbsubnetgroup',
'SubnetIds' => [ 'subnet-1fab8a69', 'subnet-d43a468c' ]
);
# Results:
my $DBSubnetGroup = $CreateDBSubnetGroupResult->DBSubnetGroup;
# Returns a L<Paws::RDS::CreateDBSubnetGroupResult> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/rds/CreateDBSubnetGroup
ATTRIBUTES
REQUIRED DBSubnetGroupDescription => Str
The description for the DB subnet group.
REQUIRED DBSubnetGroupName => Str
The name for the DB subnet group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens. Must not be default.
Example: mySubnetgroup
REQUIRED SubnetIds => ArrayRef[Str|Undef]
The EC2 Subnet IDs for the DB subnet group.
Tags => ArrayRef[Paws::RDS::Tag]
Tags to assign to the DB subnet group.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateDBSubnetGroup in Paws::RDS
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues