Struct aws_sdk_macie2::types::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§
source§impl S3JobDefinition
impl S3JobDefinition
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.
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.
source§impl S3JobDefinition
impl S3JobDefinition
sourcepub fn builder() -> S3JobDefinitionBuilder
pub fn builder() -> S3JobDefinitionBuilder
Creates a new builder-style object to manufacture S3JobDefinition
.
Trait Implementations§
source§impl Clone for S3JobDefinition
impl Clone for S3JobDefinition
source§fn clone(&self) -> S3JobDefinition
fn clone(&self) -> S3JobDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3JobDefinition
impl Debug for S3JobDefinition
source§impl PartialEq<S3JobDefinition> for S3JobDefinition
impl PartialEq<S3JobDefinition> for S3JobDefinition
source§fn eq(&self, other: &S3JobDefinition) -> bool
fn eq(&self, other: &S3JobDefinition) -> bool
self
and other
values to be equal, and is used
by ==
.