Struct aws_sdk_devopsguru::types::TagCollection
source · #[non_exhaustive]pub struct TagCollection {
pub app_boundary_key: String,
pub tag_values: Vec<String>,
}
Expand description
A collection of Amazon Web Services tags.
Tags help you identify and organize your Amazon Web Services resources. Many Amazon Web Services services support tagging, so you can assign the same tag to resources from different services to indicate that the resources are related. For example, you can assign the same tag to an Amazon DynamoDB table resource that you assign to an Lambda function. For more information about using tags, see the Tagging best practices whitepaper.
Each Amazon Web Services tag has two parts.
-
A tag key (for example,
CostCenter
,Environment
,Project
, orSecret
). Tag keys are case-sensitive. -
An optional field known as a tag value (for example,
111122223333
,Production
, or a team name). Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive.
Together these are known as key-value pairs.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-
. The tag key might be DevOps-Guru-deployment-application
or devops-guru-rds-application
. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds
and a key named DevOps-Guru-RDS
, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS
or Devops-Guru-production-application/containers
.
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.app_boundary_key: String
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that DevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-
. The tag key might be DevOps-Guru-deployment-application
or devops-guru-rds-application
. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds
and a key named DevOps-Guru-RDS
, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS
or Devops-Guru-production-application/containers
.
tag_values: Vec<String>
The values in an Amazon Web Services tag collection.
The tag's value is an optional field used to associate a string with the tag key (for example, 111122223333
, Production
, or a team name). The key and value are the tag's key pair. Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive. You can specify a maximum of 256 characters for a tag value.
Implementations§
source§impl TagCollection
impl TagCollection
sourcepub fn app_boundary_key(&self) -> &str
pub fn app_boundary_key(&self) -> &str
An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that DevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary.
The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-
. The tag key might be DevOps-Guru-deployment-application
or devops-guru-rds-application
. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds
and a key named DevOps-Guru-RDS
, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS
or Devops-Guru-production-application/containers
.
sourcepub fn tag_values(&self) -> &[String]
pub fn tag_values(&self) -> &[String]
The values in an Amazon Web Services tag collection.
The tag's value is an optional field used to associate a string with the tag key (for example, 111122223333
, Production
, or a team name). The key and value are the tag's key pair. Omitting the tag value is the same as using an empty string. Like tag keys, tag values are case-sensitive. You can specify a maximum of 256 characters for a tag value.
source§impl TagCollection
impl TagCollection
sourcepub fn builder() -> TagCollectionBuilder
pub fn builder() -> TagCollectionBuilder
Creates a new builder-style object to manufacture TagCollection
.
Trait Implementations§
source§impl Clone for TagCollection
impl Clone for TagCollection
source§fn clone(&self) -> TagCollection
fn clone(&self) -> TagCollection
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TagCollection
impl Debug for TagCollection
source§impl PartialEq for TagCollection
impl PartialEq for TagCollection
source§fn eq(&self, other: &TagCollection) -> bool
fn eq(&self, other: &TagCollection) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TagCollection
Auto Trait Implementations§
impl Freeze for TagCollection
impl RefUnwindSafe for TagCollection
impl Send for TagCollection
impl Sync for TagCollection
impl Unpin for TagCollection
impl UnwindSafe for TagCollection
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more