Struct aws_sdk_securityhub::operation::update_finding_aggregator::UpdateFindingAggregatorInput
source · #[non_exhaustive]pub struct UpdateFindingAggregatorInput {
pub finding_aggregator_arn: Option<String>,
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.finding_aggregator_arn: Option<String>
The ARN of the finding aggregator. To obtain the ARN, use ListFindingAggregators
.
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
- Indicates to aggregate 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
- Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegions
parameter. 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
- Indicates to aggregate findings only from the Regions listed in theRegions
parameter. Security Hub does not automatically aggregate findings from new 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.
Implementations§
source§impl UpdateFindingAggregatorInput
impl UpdateFindingAggregatorInput
sourcepub fn finding_aggregator_arn(&self) -> Option<&str>
pub fn finding_aggregator_arn(&self) -> Option<&str>
The ARN of the finding aggregator. To obtain the ARN, use ListFindingAggregators
.
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
- Indicates to aggregate 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
- Indicates to aggregate findings from all of the Regions where Security Hub is enabled, except for the Regions listed in theRegions
parameter. 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
- Indicates to aggregate findings only from the Regions listed in theRegions
parameter. Security Hub does not automatically aggregate findings from new 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.
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 UpdateFindingAggregatorInput
impl UpdateFindingAggregatorInput
sourcepub fn builder() -> UpdateFindingAggregatorInputBuilder
pub fn builder() -> UpdateFindingAggregatorInputBuilder
Creates a new builder-style object to manufacture UpdateFindingAggregatorInput
.
Trait Implementations§
source§impl Clone for UpdateFindingAggregatorInput
impl Clone for UpdateFindingAggregatorInput
source§fn clone(&self) -> UpdateFindingAggregatorInput
fn clone(&self) -> UpdateFindingAggregatorInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFindingAggregatorInput
impl Debug for UpdateFindingAggregatorInput
source§impl PartialEq for UpdateFindingAggregatorInput
impl PartialEq for UpdateFindingAggregatorInput
source§fn eq(&self, other: &UpdateFindingAggregatorInput) -> bool
fn eq(&self, other: &UpdateFindingAggregatorInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateFindingAggregatorInput
Auto Trait Implementations§
impl Freeze for UpdateFindingAggregatorInput
impl RefUnwindSafe for UpdateFindingAggregatorInput
impl Send for UpdateFindingAggregatorInput
impl Sync for UpdateFindingAggregatorInput
impl Unpin for UpdateFindingAggregatorInput
impl UnwindSafe for UpdateFindingAggregatorInput
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> 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