Skip to content
v2.275.0

Tag Struct ​

Tag.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const tag: s3.Tag = {
  key: 'key',
  value: 'value',
};

Properties ​

keystringkeystrkeyStringKeystringKey*stringrequired#
key to e tagged.
valuestringvaluestrvalueStringValuestringValue*stringrequired#
additional value.