Class: Aws::ElasticInference::Types::TagResourceRequest

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

Overview

Note:

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

{
  resource_arn: "ResourceARN", # required
  tags: { # required
    "TagKey" => "TagValue",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of the Elastic Inference Accelerator to tag.

Returns:

  • (String)


404
405
406
407
408
409
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/types.rb', line 404

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags to add to the Elastic Inference Accelerator.

Returns:

  • (Hash<String,String>)


404
405
406
407
408
409
# File 'gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/types.rb', line 404

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end