NAME
Paws::RDS::CreateDBParameterGroup - Arguments for method CreateDBParameterGroup on Paws::RDS
DESCRIPTION
This class represents the parameters used for calling the method CreateDBParameterGroup on the Amazon Relational Database Service service. Use the attributes of this class as arguments to method CreateDBParameterGroup.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDBParameterGroup.
SYNOPSIS
my $rds = Paws->service('RDS');
# To create a DB parameter group.
# This example creates a DB parameter group.
my $CreateDBParameterGroupResult = $rds->CreateDBParameterGroup(
'DBParameterGroupFamily' => 'mysql5.6',
'DBParameterGroupName' => 'mymysqlparametergroup',
'Description' => 'My MySQL parameter group'
);
# Results:
my $DBParameterGroup = $CreateDBParameterGroupResult->DBParameterGroup;
# Returns a L<Paws::RDS::CreateDBParameterGroupResult> 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/CreateDBParameterGroup
ATTRIBUTES
REQUIRED DBParameterGroupFamily => Str
The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine <engine>
For example, to list all of the available parameter group families for the MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
aurora
(for MySQL 5.6-compatible Aurora)aurora-mysql
(for MySQL 5.7-compatible Aurora)aurora-postgresql
mariadb
mysql
oracle-ee
oracle-ee-cdb
oracle-se2
oracle-se2-cdb
postgres
sqlserver-ee
sqlserver-se
sqlserver-ex
sqlserver-web
REQUIRED DBParameterGroupName => Str
The name of the DB parameter group.
Constraints:
Must be 1 to 255 letters, numbers, or hyphens.
First character must be a letter
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
REQUIRED Description => Str
The description for the DB parameter group.
Tags => ArrayRef[Paws::RDS::Tag]
Tags to assign to the DB parameter group.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateDBParameterGroup 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