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

Class: Aws::RDS::Types::CopyOptionGroupMessage

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 CopyOptionGroupMessage data as a hash:

{
  source_option_group_identifier: "String", # required
  target_option_group_identifier: "String", # required
  target_option_group_description: "String", # required
  tags: [
    {
      key: "String",
      value: "String",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#source_option_group_identifierString

The identifier or ARN for the source option group. For information about creating an ARN, see Constructing an RDS Amazon Resource Name (ARN).

Constraints:

  • Must specify a valid option group.

  • If the source option group is in the same AWS Region as the copy, specify a valid option group identifier, for example my-option-group, or a valid ARN.

  • If the source option group is in a different AWS Region than the copy, specify a valid option group ARN, for example arn:aws:rds:us-west-2:123456789012:og:special-options.

Returns:

  • (String)


1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 1012

class CopyOptionGroupMessage < Struct.new(
  :source_option_group_identifier,
  :target_option_group_identifier,
  :target_option_group_description,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags.

Returns:



1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 1012

class CopyOptionGroupMessage < Struct.new(
  :source_option_group_identifier,
  :target_option_group_identifier,
  :target_option_group_description,
  :tags)
  include Aws::Structure
end

#target_option_group_descriptionString

The description for the copied option group.

Returns:

  • (String)


1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 1012

class CopyOptionGroupMessage < Struct.new(
  :source_option_group_identifier,
  :target_option_group_identifier,
  :target_option_group_description,
  :tags)
  include Aws::Structure
end

#target_option_group_identifierString

The identifier for the copied option group.

Constraints:

  • Cannot be null, empty, or blank

  • Must contain from 1 to 255 letters, numbers, or hyphens

  • First character must be a letter

  • Cannot end with a hyphen or contain two consecutive hyphens

Example: my-option-group

Returns:

  • (String)


1012
1013
1014
1015
1016
1017
1018
# File 'gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb', line 1012

class CopyOptionGroupMessage < Struct.new(
  :source_option_group_identifier,
  :target_option_group_identifier,
  :target_option_group_description,
  :tags)
  include Aws::Structure
end