Class: Aws::CodeDeploy::Types::AddTagsToOnPremisesInstancesInput
- Inherits:
-
Struct
- Object
- Struct
- Aws::CodeDeploy::Types::AddTagsToOnPremisesInstancesInput
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-codedeploy/types.rb
Overview
Note:
When making an API call, you may pass AddTagsToOnPremisesInstancesInput data as a hash:
{
tags: [ # required
{
key: "Key",
value: "Value",
},
],
instance_names: ["InstanceName"], # required
}
Represents the input of, and adds tags to, an on-premises instance operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#instance_names ⇒ Array<String>
The names of the on-premises instances to which to add tags.
-
#tags ⇒ Array<Types::Tag>
The tag key-value pairs to add to the on-premises instances.
Instance Attribute Details
#instance_names ⇒ Array<String>
The names of the on-premises instances to which to add tags.
42 43 44 45 46 47 |
# File 'lib/aws-sdk-codedeploy/types.rb', line 42 class AddTagsToOnPremisesInstancesInput < Struct.new( :tags, :instance_names) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tag key-value pairs to add to the on-premises instances.
Keys and values are both required. Keys cannot be null or empty strings. Value-only tags are not allowed.
42 43 44 45 46 47 |
# File 'lib/aws-sdk-codedeploy/types.rb', line 42 class AddTagsToOnPremisesInstancesInput < Struct.new( :tags, :instance_names) SENSITIVE = [] include Aws::Structure end |