Tag
- class aws_cdk.cloud_assembly_schema.Tag(*, key, value)
Bases:
object
Metadata Entry spec for stack tag.
- Parameters:
key (
str
) – Tag key. (In the actual file on disk this will be cased as “Key”, and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)value (
str
) – Tag value. (In the actual file on disk this will be cased as “Value”, and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.cloud_assembly_schema as cloud_assembly_schema tag = cloud_assembly_schema.Tag( key="key", value="value" )
Attributes
- key
Tag key.
(In the actual file on disk this will be cased as “Key”, and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)
- value
Tag value.
(In the actual file on disk this will be cased as “Value”, and the structure is patched to match this structure upon loading: https://github.com/aws/aws-cdk/blob/4aadaa779b48f35838cccd4e25107b2338f05547/packages/%40aws-cdk/cloud-assembly-schema/lib/manifest.ts#L137)