Struct aws_sdk_macie2::model::SearchResourcesSimpleCriterion [−][src]
#[non_exhaustive]pub struct SearchResourcesSimpleCriterion {
pub comparator: Option<SearchResourcesComparator>,
pub key: Option<SearchResourcesSimpleCriterionKey>,
pub values: Option<Vec<String>>,
}
Expand description
Specifies a property-based filter condition that determines which Amazon Web Services resources are included or excluded from the query results.
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.comparator: Option<SearchResourcesComparator>
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
key: Option<SearchResourcesSimpleCriterionKey>
The property to use in the condition.
values: Option<Vec<String>>
An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
Implementations
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
The property to use in the condition.
An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:
ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of an S3 bucket.
S3_BUCKET_NAME - A string that represents the name of an S3 bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of an S3 bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.
Creates a new builder-style object to manufacture SearchResourcesSimpleCriterion
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 Send for SearchResourcesSimpleCriterion
impl Sync for SearchResourcesSimpleCriterion
impl Unpin for SearchResourcesSimpleCriterion
impl UnwindSafe for SearchResourcesSimpleCriterion
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