Class: Aws::RDS::Types::CopyOptionGroupMessage
- Inherits:
-
Struct
- Object
- Struct
- Aws::RDS::Types::CopyOptionGroupMessage
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rds/types.rb
Overview
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
-
#source_option_group_identifier ⇒ String
The identifier or ARN for the source option group.
-
#tags ⇒ Array<Types::Tag>
A list of tags.
-
#target_option_group_description ⇒ String
The description for the copied option group.
-
#target_option_group_identifier ⇒ String
The identifier for the copied option group.
Instance Attribute Details
#source_option_group_identifier ⇒ String
The identifier or ARN for the source option group. For information about creating an ARN, see [ Constructing an ARN for Amazon RDS] in the *Amazon RDS User Guide*.
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`.
[1]: docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.ARN.html#USER_Tagging.ARN.Constructing
1159 1160 1161 1162 1163 1164 1165 |
# File 'lib/aws-sdk-rds/types.rb', line 1159 class CopyOptionGroupMessage < Struct.new( :source_option_group_identifier, :target_option_group_identifier, :target_option_group_description, :tags) include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tags. For more information, see [Tagging Amazon RDS Resources] in the *Amazon RDS User Guide.*
[1]: docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
1159 1160 1161 1162 1163 1164 1165 |
# File 'lib/aws-sdk-rds/types.rb', line 1159 class CopyOptionGroupMessage < Struct.new( :source_option_group_identifier, :target_option_group_identifier, :target_option_group_description, :tags) include Aws::Structure end |
#target_option_group_description ⇒ String
The description for the copied option group.
1159 1160 1161 1162 1163 1164 1165 |
# File 'lib/aws-sdk-rds/types.rb', line 1159 class CopyOptionGroupMessage < Struct.new( :source_option_group_identifier, :target_option_group_identifier, :target_option_group_description, :tags) include Aws::Structure end |
#target_option_group_identifier ⇒ String
The identifier for the copied option group.
Constraints:
-
Can’t be null, empty, or blank
-
Must contain from 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can’t end with a hyphen or contain two consecutive hyphens
Example: ‘my-option-group`
1159 1160 1161 1162 1163 1164 1165 |
# File 'lib/aws-sdk-rds/types.rb', line 1159 class CopyOptionGroupMessage < Struct.new( :source_option_group_identifier, :target_option_group_identifier, :target_option_group_description, :tags) include Aws::Structure end |