| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.TagSpecification
Description
Documentation
data TagSpecification Source #
The tags to apply to a resource when the resource is being created.
The Valid Values lists all the resource types that can be tagged.
However, the action you're using might not support tagging all of these
resource types. If you try to tag a resource type that is unsupported
for the action you're using, you'll get an error.
See: newTagSpecification smart constructor.
Constructors
| TagSpecification' | |
Fields
| |
Instances
newTagSpecification :: TagSpecification Source #
Create a value of TagSpecification with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:resourceType:TagSpecification', tagSpecification_resourceType - The type of resource to tag on creation.
$sel:tags:TagSpecification', tagSpecification_tags - The tags to apply to the resource.
tagSpecification_resourceType :: Lens' TagSpecification (Maybe ResourceType) Source #
The type of resource to tag on creation.
tagSpecification_tags :: Lens' TagSpecification (Maybe [Tag]) Source #
The tags to apply to the resource.