#[non_exhaustive]pub struct ResourceDataSyncAwsOrganizationsSource {
pub organization_source_type: String,
pub organizational_units: Option<Vec<ResourceDataSyncOrganizationalUnit>>,
}
Expand description
Information about the AwsOrganizationsSource
resource data sync source. A sync source of this type can synchronize data from Organizations or, if an Amazon Web Services organization isn't present, from multiple Amazon Web Services Regions.
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.organization_source_type: String
If an Amazon Web Services organization is present, this is either OrganizationalUnits
or EntireOrganization
. For OrganizationalUnits
, the data is aggregated from a set of organization units. For EntireOrganization
, the data is aggregated from the entire Amazon Web Services organization.
organizational_units: Option<Vec<ResourceDataSyncOrganizationalUnit>>
The Organizations organization units included in the sync.
Implementations§
source§impl ResourceDataSyncAwsOrganizationsSource
impl ResourceDataSyncAwsOrganizationsSource
sourcepub fn organization_source_type(&self) -> &str
pub fn organization_source_type(&self) -> &str
If an Amazon Web Services organization is present, this is either OrganizationalUnits
or EntireOrganization
. For OrganizationalUnits
, the data is aggregated from a set of organization units. For EntireOrganization
, the data is aggregated from the entire Amazon Web Services organization.
sourcepub fn organizational_units(&self) -> &[ResourceDataSyncOrganizationalUnit]
pub fn organizational_units(&self) -> &[ResourceDataSyncOrganizationalUnit]
The Organizations organization units included in the sync.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .organizational_units.is_none()
.
source§impl ResourceDataSyncAwsOrganizationsSource
impl ResourceDataSyncAwsOrganizationsSource
sourcepub fn builder() -> ResourceDataSyncAwsOrganizationsSourceBuilder
pub fn builder() -> ResourceDataSyncAwsOrganizationsSourceBuilder
Creates a new builder-style object to manufacture ResourceDataSyncAwsOrganizationsSource
.
Trait Implementations§
source§impl Clone for ResourceDataSyncAwsOrganizationsSource
impl Clone for ResourceDataSyncAwsOrganizationsSource
source§fn clone(&self) -> ResourceDataSyncAwsOrganizationsSource
fn clone(&self) -> ResourceDataSyncAwsOrganizationsSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ResourceDataSyncAwsOrganizationsSource
impl PartialEq for ResourceDataSyncAwsOrganizationsSource
source§fn eq(&self, other: &ResourceDataSyncAwsOrganizationsSource) -> bool
fn eq(&self, other: &ResourceDataSyncAwsOrganizationsSource) -> bool
self
and other
values to be equal, and is used
by ==
.