You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::RDS::Types::CreateDBParameterGroupMessage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb

Overview

Note:

When making an API call, you may pass CreateDBParameterGroupMessage data as a hash:

{
  db_parameter_group_name: "String", # required
  db_parameter_group_family: "String", # required
  description: "String", # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#db_parameter_group_familyString

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, use the following command:

aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily"

The output contains duplicates.

Returns:

  • (String)


3641
3642
3643
3644
3645
3646
3647
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3641

class CreateDBParameterGroupMessage < Struct.new(
  :db_parameter_group_name,
  :db_parameter_group_family,
  :description,
  :tags)
  include Aws::Structure
end

#db_parameter_group_nameString

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.

Returns:

  • (String)


3641
3642
3643
3644
3645
3646
3647
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3641

class CreateDBParameterGroupMessage < Struct.new(
  :db_parameter_group_name,
  :db_parameter_group_family,
  :description,
  :tags)
  include Aws::Structure
end

#descriptionString

The description for the DB parameter group.

Returns:

  • (String)


3641
3642
3643
3644
3645
3646
3647
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3641

class CreateDBParameterGroupMessage < Struct.new(
  :db_parameter_group_name,
  :db_parameter_group_family,
  :description,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Tags to assign to the DB parameter group.

Returns:



3641
3642
3643
3644
3645
3646
3647
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 3641

class CreateDBParameterGroupMessage < Struct.new(
  :db_parameter_group_name,
  :db_parameter_group_family,
  :description,
  :tags)
  include Aws::Structure
end