Class: Aws::OpsWorksCM::Types::Tag
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorksCM::Types::Tag
- Defined in:
- gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb
Overview
A map that contains tag keys and tag values to attach to an OpsWorks for Chef Automate or OpsWorks for Puppet Enterprise server. Leading and trailing spaces are trimmed from both the key and value. A maximum of 50 user-applied tags is allowed for tag-supported OpsWorks CM resources.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key ⇒ String
A tag key, such as
Stage
orName
. -
#value ⇒ String
An optional tag value, such as
Production
ortest-owcm-server
.
Instance Attribute Details
#key ⇒ String
A tag key, such as Stage
or Name
. A tag key cannot be empty. The
key can be a maximum of 127 characters, and can contain only Unicode
letters, numbers, or separators, or the following special
characters: + - = . _ : /
1401 1402 1403 1404 1405 1406 |
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1401 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |
#value ⇒ String
An optional tag value, such as Production
or test-owcm-server
.
The value can be a maximum of 255 characters, and contain only
Unicode letters, numbers, or separators, or the following special
characters: + - = . _ : /
1401 1402 1403 1404 1405 1406 |
# File 'gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/types.rb', line 1401 class Tag < Struct.new( :key, :value) SENSITIVE = [] include Aws::Structure end |