Struct aws_sdk_redshift::model::TaggedResource [−][src]
#[non_exhaustive]pub struct TaggedResource {
pub tag: Option<Tag>,
pub resource_name: Option<String>,
pub resource_type: Option<String>,
}
Expand description
A tag and its associated resource.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.tag: Option<Tag>
The tag for the resource.
resource_name: Option<String>
The Amazon Resource Name (ARN) with which the tag is associated, for example:
arn:aws:redshift:us-east-2:123456789:cluster:t1
.
resource_type: Option<String>
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.
Implementations
The Amazon Resource Name (ARN) with which the tag is associated, for example:
arn:aws:redshift:us-east-2:123456789:cluster:t1
.
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.
Creates a new builder-style object to manufacture TaggedResource
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TaggedResource
impl Send for TaggedResource
impl Sync for TaggedResource
impl Unpin for TaggedResource
impl UnwindSafe for TaggedResource
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more