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

Class: Aws::CodeDeploy::Types::AddTagsToOnPremisesInstancesInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codedeploy/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.

Instance Attribute Summary collapse

Instance Attribute Details

#instance_namesArray<String>

The names of the on-premises instances to which to add tags.

Returns:

  • (Array<String>)


40
41
42
43
44
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 40

class AddTagsToOnPremisesInstancesInput < Struct.new(
  :tags,
  :instance_names)
  include Aws::Structure
end

#tagsArray<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.

Returns:



40
41
42
43
44
# File 'gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/types.rb', line 40

class AddTagsToOnPremisesInstancesInput < Struct.new(
  :tags,
  :instance_names)
  include Aws::Structure
end