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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AddTagsToOnPremisesInstancesInput as input to an Aws::Client method, you can use a vanilla 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>)

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

#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:

  • (Array<Types::Tag>)

    The tag key-value pairs to add to the on-premises instances.