Struct aws_sdk_macie2::model::S3JobDefinition
source · [−]#[non_exhaustive]pub struct S3JobDefinition { /* private fields */ }
Expand description
Specifies which S3 buckets contain the objects that a classification job analyzes, and the scope of that analysis. The bucket specification can be static (bucketDefinitions) or dynamic (bucketCriteria). If it's static, the job analyzes objects in the same predefined set of buckets each time the job runs. If it's dynamic, the job analyzes objects in any buckets that match the specified criteria each time the job starts to run.
Implementations
sourceimpl S3JobDefinition
impl S3JobDefinition
sourcepub fn bucket_definitions(&self) -> Option<&[S3BucketDefinitionForJob]>
pub fn bucket_definitions(&self) -> Option<&[S3BucketDefinitionForJob]>
An array of objects, one for each Amazon Web Services account that owns specific S3 buckets to analyze. Each object specifies the account ID for an account and one or more buckets to analyze for that account. A job's definition can contain a bucketDefinitions array or a bucketCriteria object, not both.
sourcepub fn scoping(&self) -> Option<&Scoping>
pub fn scoping(&self) -> Option<&Scoping>
The property- and tag-based conditions that determine which S3 objects to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which objects to analyze.
sourcepub fn bucket_criteria(&self) -> Option<&S3BucketCriteriaForJob>
pub fn bucket_criteria(&self) -> Option<&S3BucketCriteriaForJob>
The property- and tag-based conditions that determine which S3 buckets to include or exclude from the analysis. Each time the job runs, the job uses these criteria to determine which buckets contain objects to analyze. A job's definition can contain a bucketCriteria object or a bucketDefinitions array, not both.
sourceimpl S3JobDefinition
impl S3JobDefinition
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture S3JobDefinition
.
Trait Implementations
sourceimpl Clone for S3JobDefinition
impl Clone for S3JobDefinition
sourcefn clone(&self) -> S3JobDefinition
fn clone(&self) -> S3JobDefinition
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more