#[non_exhaustive]pub struct ResourceCollectionFilter {
pub cloud_formation: Option<CloudFormationCollectionFilter>,
pub tags: Option<Vec<TagCollectionFilter>>,
}
Expand description
Information about a filter used to specify which Amazon Web Services resources are analyzed for anomalous behavior by DevOps Guru.
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.cloud_formation: Option<CloudFormationCollectionFilter>
Information about Amazon Web Services CloudFormation stacks. You can use up to 500 stacks to specify which Amazon Web Services resources in your account to analyze. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
The Amazon Web Services tags used to filter the resources in the resource collection.
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
.
Implementations§
source§impl ResourceCollectionFilter
impl ResourceCollectionFilter
sourcepub fn cloud_formation(&self) -> Option<&CloudFormationCollectionFilter>
pub fn cloud_formation(&self) -> Option<&CloudFormationCollectionFilter>
Information about Amazon Web Services CloudFormation stacks. You can use up to 500 stacks to specify which Amazon Web Services resources in your account to analyze. For more information, see Stacks in the Amazon Web Services CloudFormation User Guide.
The Amazon Web Services tags used to filter the resources in the resource collection.
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
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl ResourceCollectionFilter
impl ResourceCollectionFilter
sourcepub fn builder() -> ResourceCollectionFilterBuilder
pub fn builder() -> ResourceCollectionFilterBuilder
Creates a new builder-style object to manufacture ResourceCollectionFilter
.
Trait Implementations§
source§impl Clone for ResourceCollectionFilter
impl Clone for ResourceCollectionFilter
source§fn clone(&self) -> ResourceCollectionFilter
fn clone(&self) -> ResourceCollectionFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceCollectionFilter
impl Debug for ResourceCollectionFilter
source§impl PartialEq for ResourceCollectionFilter
impl PartialEq for ResourceCollectionFilter
source§fn eq(&self, other: &ResourceCollectionFilter) -> bool
fn eq(&self, other: &ResourceCollectionFilter) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceCollectionFilter
Auto Trait Implementations§
impl Freeze for ResourceCollectionFilter
impl RefUnwindSafe for ResourceCollectionFilter
impl Send for ResourceCollectionFilter
impl Sync for ResourceCollectionFilter
impl Unpin for ResourceCollectionFilter
impl UnwindSafe for ResourceCollectionFilter
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