Class: Aws::S3Control::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::S3Control::Types::Tag
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-s3control/types.rb
Overview
An Amazon Web Services resource tag that’s associated with your S3 resource. You can add tags to new objects when you upload them, or you can add object tags to existing objects.
<note markdown=“1”> This operation is only supported for [S3 Storage Lens groups] and for [S3 Access Grants]. The tagged resource can be an S3 Storage Lens group or S3 Access Grants instance, registered location, or grant.
</note>
[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/storage-lens-groups.html [2]: docs.aws.amazon.com/AmazonS3/latest/userguide/access-grants-tagging.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key ⇒ String
The key of the key-value pair of a tag added to your Amazon Web Services resource.
-
#value ⇒ String
The value of the key-value pair of a tag added to your Amazon Web Services resource.
Instance Attribute Details
#key ⇒ String
The key of the key-value pair of a tag added to your Amazon Web Services resource. A tag key can be up to 128 Unicode characters in length and is case-sensitive. System created tags that begin with ‘aws:` aren’t supported.
8112 8113 8114 8115 8116 8117 |
# File 'lib/aws-sdk-s3control/types.rb', line 8112 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
The value of the key-value pair of a tag added to your Amazon Web Services resource. A tag value can be up to 256 Unicode characters in length and is case-sensitive.
8112 8113 8114 8115 8116 8117 |
# File 'lib/aws-sdk-s3control/types.rb', line 8112 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |