#[non_exhaustive]pub struct TagCostEstimationResourceCollectionFilter {
pub app_boundary_key: String,
pub tag_values: Vec<String>,
}
Expand description
Information about a collection of Amazon Web Services resources that are identified by an Amazon Web Services tag. This collection of resources is used to create a monthly cost estimate for DevOps Guru to analyze Amazon Web Services resources. The maximum number of tags you can specify for a cost estimate is one. The estimate created is for the cost to analyze the Amazon Web Services resources defined by the tag. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
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 TagCostEstimationResourceCollectionFilter
impl TagCostEstimationResourceCollectionFilter
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 TagCostEstimationResourceCollectionFilter
impl TagCostEstimationResourceCollectionFilter
sourcepub fn builder() -> TagCostEstimationResourceCollectionFilterBuilder
pub fn builder() -> TagCostEstimationResourceCollectionFilterBuilder
Creates a new builder-style object to manufacture TagCostEstimationResourceCollectionFilter
.
Trait Implementations§
source§impl Clone for TagCostEstimationResourceCollectionFilter
impl Clone for TagCostEstimationResourceCollectionFilter
source§fn clone(&self) -> TagCostEstimationResourceCollectionFilter
fn clone(&self) -> TagCostEstimationResourceCollectionFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for TagCostEstimationResourceCollectionFilter
impl PartialEq for TagCostEstimationResourceCollectionFilter
source§fn eq(&self, other: &TagCostEstimationResourceCollectionFilter) -> bool
fn eq(&self, other: &TagCostEstimationResourceCollectionFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TagCostEstimationResourceCollectionFilter
Auto Trait Implementations§
impl Freeze for TagCostEstimationResourceCollectionFilter
impl RefUnwindSafe for TagCostEstimationResourceCollectionFilter
impl Send for TagCostEstimationResourceCollectionFilter
impl Sync for TagCostEstimationResourceCollectionFilter
impl Unpin for TagCostEstimationResourceCollectionFilter
impl UnwindSafe for TagCostEstimationResourceCollectionFilter
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