Struct aws_sdk_securityhub::operation::create_finding_aggregator::CreateFindingAggregatorInput
source · #[non_exhaustive]pub struct CreateFindingAggregatorInput {
pub region_linking_mode: Option<String>,
pub regions: Option<Vec<String>>,
}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.region_linking_mode: Option<String>Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.
The selected option also determines how to use the Regions provided in the Regions list.
The options are as follows:
-
ALL_REGIONS- Aggregates findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. -
ALL_REGIONS_EXCEPT_SPECIFIED- Aggregates findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegionsparameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. -
SPECIFIED_REGIONS- Aggregates findings only from the Regions listed in theRegionsparameter. Security Hub does not automatically aggregate findings from new Regions. -
NO_REGIONS- Aggregates no data because no Regions are selected as linked Regions.
regions: Option<Vec<String>>If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.
If RegionLinkingMode is SPECIFIED_REGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
An InvalidInputException error results if you populate this field while RegionLinkingMode is NO_REGIONS.
Implementations§
source§impl CreateFindingAggregatorInput
impl CreateFindingAggregatorInput
sourcepub fn region_linking_mode(&self) -> Option<&str>
pub fn region_linking_mode(&self) -> Option<&str>
Indicates whether to aggregate findings from all of the available Regions in the current partition. Also determines whether to automatically aggregate findings from new Regions as Security Hub supports them and you opt into them.
The selected option also determines how to use the Regions provided in the Regions list.
The options are as follows:
-
ALL_REGIONS- Aggregates findings from all of the Regions where Security Hub is enabled. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. -
ALL_REGIONS_EXCEPT_SPECIFIED- Aggregates findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegionsparameter. When you choose this option, Security Hub also automatically aggregates findings from new Regions as Security Hub supports them and you opt into them. -
SPECIFIED_REGIONS- Aggregates findings only from the Regions listed in theRegionsparameter. Security Hub does not automatically aggregate findings from new Regions. -
NO_REGIONS- Aggregates no data because no Regions are selected as linked Regions.
sourcepub fn regions(&self) -> &[String]
pub fn regions(&self) -> &[String]
If RegionLinkingMode is ALL_REGIONS_EXCEPT_SPECIFIED, then this is a space-separated list of Regions that do not aggregate findings to the aggregation Region.
If RegionLinkingMode is SPECIFIED_REGIONS, then this is a space-separated list of Regions that do aggregate findings to the aggregation Region.
An InvalidInputException error results if you populate this field while RegionLinkingMode is NO_REGIONS.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .regions.is_none().
source§impl CreateFindingAggregatorInput
impl CreateFindingAggregatorInput
sourcepub fn builder() -> CreateFindingAggregatorInputBuilder
pub fn builder() -> CreateFindingAggregatorInputBuilder
Creates a new builder-style object to manufacture CreateFindingAggregatorInput.
Trait Implementations§
source§impl Clone for CreateFindingAggregatorInput
impl Clone for CreateFindingAggregatorInput
source§fn clone(&self) -> CreateFindingAggregatorInput
fn clone(&self) -> CreateFindingAggregatorInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateFindingAggregatorInput
impl Debug for CreateFindingAggregatorInput
source§impl PartialEq for CreateFindingAggregatorInput
impl PartialEq for CreateFindingAggregatorInput
source§fn eq(&self, other: &CreateFindingAggregatorInput) -> bool
fn eq(&self, other: &CreateFindingAggregatorInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateFindingAggregatorInput
Auto Trait Implementations§
impl Freeze for CreateFindingAggregatorInput
impl RefUnwindSafe for CreateFindingAggregatorInput
impl Send for CreateFindingAggregatorInput
impl Sync for CreateFindingAggregatorInput
impl Unpin for CreateFindingAggregatorInput
impl UnwindSafe for CreateFindingAggregatorInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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