#[non_exhaustive]pub struct OrganizationAggregationSource {
pub role_arn: String,
pub aws_regions: Option<Vec<String>>,
pub all_aws_regions: bool,
}Expand description
This object contains regions to set up the aggregator and an IAM role to retrieve organization details.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.role_arn: StringARN of the IAM role used to retrieve Amazon Web Services Organization details associated with the aggregator account.
aws_regions: Option<Vec<String>>The source regions being aggregated.
all_aws_regions: boolIf true, aggregate existing Config regions and future regions.
Implementations§
source§impl OrganizationAggregationSource
impl OrganizationAggregationSource
sourcepub fn role_arn(&self) -> &str
pub fn role_arn(&self) -> &str
ARN of the IAM role used to retrieve Amazon Web Services Organization details associated with the aggregator account.
sourcepub fn aws_regions(&self) -> &[String]
pub fn aws_regions(&self) -> &[String]
The source regions being aggregated.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .aws_regions.is_none().
sourcepub fn all_aws_regions(&self) -> bool
pub fn all_aws_regions(&self) -> bool
If true, aggregate existing Config regions and future regions.
source§impl OrganizationAggregationSource
impl OrganizationAggregationSource
sourcepub fn builder() -> OrganizationAggregationSourceBuilder
pub fn builder() -> OrganizationAggregationSourceBuilder
Creates a new builder-style object to manufacture OrganizationAggregationSource.
Trait Implementations§
source§impl Clone for OrganizationAggregationSource
impl Clone for OrganizationAggregationSource
source§fn clone(&self) -> OrganizationAggregationSource
fn clone(&self) -> OrganizationAggregationSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for OrganizationAggregationSource
impl PartialEq for OrganizationAggregationSource
source§fn eq(&self, other: &OrganizationAggregationSource) -> bool
fn eq(&self, other: &OrganizationAggregationSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OrganizationAggregationSource
Auto Trait Implementations§
impl RefUnwindSafe for OrganizationAggregationSource
impl Send for OrganizationAggregationSource
impl Sync for OrganizationAggregationSource
impl Unpin for OrganizationAggregationSource
impl UnwindSafe for OrganizationAggregationSource
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.