Class: Aws::CloudWatch::Types::UntagResourceInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatch/types.rb

Overview

Note:

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

{
  resource_arn: "AmazonResourceName", # required
  tag_keys: ["TagKey"], # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The ARN of the CloudWatch resource that you're removing tags from.

The ARN format of an alarm is `arn:aws:cloudwatch:Region:account-id:alarm:alarm-name `

The ARN format of a Contributor Insights rule is `arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name `

For more information about ARN format, see [ Resource Types Defined by Amazon CloudWatch] in the *Amazon Web Services General Reference*.

[1]: docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html#amazoncloudwatch-resources-for-iam-policies

Returns:

  • (String)

4282
4283
4284
4285
4286
4287
# File 'lib/aws-sdk-cloudwatch/types.rb', line 4282

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

#tag_keysArray<String>

The list of tag keys to remove from the resource.

Returns:

  • (Array<String>)

4282
4283
4284
4285
4286
4287
# File 'lib/aws-sdk-cloudwatch/types.rb', line 4282

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