Class: Aws::AppRunner::Types::TagResourceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::AppRunner::Types::TagResourceRequest
- Defined in:
- gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb
Overview
Note:
When making an API call, you may pass TagResourceRequest data as a hash:
{
resource_arn: "AppRunnerResourceArn", # required
tags: [ # required
{
key: "TagKey",
value: "TagValue",
},
],
}
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resource that you want to update tags for.
-
#tags ⇒ Array<Types::Tag>
A list of tag key-value pairs to add or update.
Instance Attribute Details
#resource_arn ⇒ String
The Amazon Resource Name (ARN) of the resource that you want to update tags for.
It must be the ARN of an App Runner resource.
2916 2917 2918 2919 2920 2921 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 2916 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
2916 2917 2918 2919 2920 2921 |
# File 'gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/types.rb', line 2916 class TagResourceRequest < Struct.new( :resource_arn, :tags) SENSITIVE = [] include Aws::Structure end |