Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TaggedResource = TaggedResource' {
- tag :: Maybe Tag
- resourceType :: Maybe Text
- resourceName :: Maybe Text
- newTaggedResource :: TaggedResource
- taggedResource_tag :: Lens' TaggedResource (Maybe Tag)
- taggedResource_resourceType :: Lens' TaggedResource (Maybe Text)
- taggedResource_resourceName :: Lens' TaggedResource (Maybe Text)
Documentation
data TaggedResource Source #
A tag and its associated resource.
See: newTaggedResource
smart constructor.
TaggedResource' | |
|
Instances
newTaggedResource :: TaggedResource Source #
Create a value of TaggedResource
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:tag:TaggedResource'
, taggedResource_tag
- The tag for the resource.
$sel:resourceType:TaggedResource'
, taggedResource_resourceType
- The type of resource with which the tag is associated. Valid resource
types are:
- Cluster
- CIDR/IP
- EC2 security group
- Snapshot
- Cluster security group
- Subnet group
- HSM connection
- HSM certificate
- Parameter group
For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.
$sel:resourceName:TaggedResource'
, taggedResource_resourceName
- The Amazon Resource Name (ARN) with which the tag is associated, for
example: arn:aws:redshift:us-east-2:123456789:cluster:t1
.
taggedResource_tag :: Lens' TaggedResource (Maybe Tag) Source #
The tag for the resource.
taggedResource_resourceType :: Lens' TaggedResource (Maybe Text) Source #
The type of resource with which the tag is associated. Valid resource types are:
- Cluster
- CIDR/IP
- EC2 security group
- Snapshot
- Cluster security group
- Subnet group
- HSM connection
- HSM certificate
- Parameter group
For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.
taggedResource_resourceName :: Lens' TaggedResource (Maybe Text) Source #
The Amazon Resource Name (ARN) with which the tag is associated, for
example: arn:aws:redshift:us-east-2:123456789:cluster:t1
.