Struct aws_sdk_wafv2::types::TagInfoForResource
source · #[non_exhaustive]pub struct TagInfoForResource {
pub resource_arn: Option<String>,
pub tag_list: Option<Vec<Tag>>,
}
Expand description
The collection of tagging definitions for an Amazon Web Services resource. Tags are key:value pairs that you can use to categorize and manage your resources, for purposes like billing or other management. Typically, the tag key represents a category, such as "environment", and the tag value represents a specific value within that category, such as "test," "development," or "production". Or you might set the tag key to "customer" and the value to the customer name or ID. You can specify one or more tags to add to each Amazon Web Services resource, up to 50 tags for a resource.
You can tag the Amazon Web Services resources that you manage through WAF: web ACLs, rule groups, IP sets, and regex pattern sets. You can't manage or view tags through the WAF console.
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.resource_arn: Option<String>
The Amazon Resource Name (ARN) of the resource.
tag_list: Option<Vec<Tag>>
The array of Tag
objects defined for the resource.
Implementations§
source§impl TagInfoForResource
impl TagInfoForResource
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the resource.
source§impl TagInfoForResource
impl TagInfoForResource
sourcepub fn builder() -> TagInfoForResourceBuilder
pub fn builder() -> TagInfoForResourceBuilder
Creates a new builder-style object to manufacture TagInfoForResource
.
Trait Implementations§
source§impl Clone for TagInfoForResource
impl Clone for TagInfoForResource
source§fn clone(&self) -> TagInfoForResource
fn clone(&self) -> TagInfoForResource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TagInfoForResource
impl Debug for TagInfoForResource
source§impl PartialEq for TagInfoForResource
impl PartialEq for TagInfoForResource
source§fn eq(&self, other: &TagInfoForResource) -> bool
fn eq(&self, other: &TagInfoForResource) -> bool
self
and other
values to be equal, and is used
by ==
.