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

Class: Aws::ApplicationDiscoveryService::Types::CreateTagsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb

Overview

Note:

When making an API call, you may pass CreateTagsRequest data as a hash:

{
  configuration_ids: ["ConfigurationId"], # required
  tags: [ # required
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#configuration_idsArray<String>

A list of configuration items that you want to tag.

Returns:

  • (Array<String>)


232
233
234
235
236
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 232

class CreateTagsRequest < Struct.new(
  :configuration_ids,
  :tags)
  include Aws::Structure
end

#tagsArray<Types::Tag>

Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:

\{"key": "serverType", "value": "webServer"\}

Returns:



232
233
234
235
236
# File 'gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/types.rb', line 232

class CreateTagsRequest < Struct.new(
  :configuration_ids,
  :tags)
  include Aws::Structure
end