Struct aws_sdk_macie2::model::SimpleCriterionForJob
source · [−]#[non_exhaustive]pub struct SimpleCriterionForJob { /* private fields */ }
Expand description
Specifies a property-based condition that determines whether an S3 bucket is included or excluded from a classification job.
Implementations
sourceimpl SimpleCriterionForJob
impl SimpleCriterionForJob
sourcepub fn comparator(&self) -> Option<&JobComparator>
pub fn comparator(&self) -> Option<&JobComparator>
The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
sourcepub fn key(&self) -> Option<&SimpleCriterionKeyForJob>
pub fn key(&self) -> Option<&SimpleCriterionKeyForJob>
The property to use in the condition.
sourcepub fn values(&self) -> Option<&[String]>
pub fn values(&self) -> Option<&[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 bucket.
S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the BucketPublicAccess.effectivePermission property of a bucket.
S3_BUCKET_NAME - A string that represents the name of a bucket.
S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the BucketMetadata.sharedAccess property of a bucket.
Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in these values.
sourceimpl SimpleCriterionForJob
impl SimpleCriterionForJob
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SimpleCriterionForJob
.
Trait Implementations
sourceimpl Clone for SimpleCriterionForJob
impl Clone for SimpleCriterionForJob
sourcefn clone(&self) -> SimpleCriterionForJob
fn clone(&self) -> SimpleCriterionForJob
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more