Struct aws_sdk_ssm::types::ResourceDataSyncSource
source · #[non_exhaustive]pub struct ResourceDataSyncSource {
pub source_type: String,
pub aws_organizations_source: Option<ResourceDataSyncAwsOrganizationsSource>,
pub source_regions: Vec<String>,
pub include_future_regions: bool,
pub enable_all_ops_data_sources: bool,
}
Expand description
Information about the source of the data included in the resource data sync.
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.source_type: String
The type of data source for the resource data sync. SourceType
is either AwsOrganizations
(if an organization is present in Organizations) or SingleAccountMultiRegions
.
aws_organizations_source: Option<ResourceDataSyncAwsOrganizationsSource>
Information about the AwsOrganizationsSource
resource data sync source. A sync source of this type can synchronize data from Organizations.
source_regions: Vec<String>
The SyncSource
Amazon Web Services Regions included in the resource data sync.
include_future_regions: bool
Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions come online.
enable_all_ops_data_sources: bool
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in your organization (or in the selected organization units). For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the Amazon Web Services Systems Manager User Guide.
Implementations§
source§impl ResourceDataSyncSource
impl ResourceDataSyncSource
sourcepub fn source_type(&self) -> &str
pub fn source_type(&self) -> &str
The type of data source for the resource data sync. SourceType
is either AwsOrganizations
(if an organization is present in Organizations) or SingleAccountMultiRegions
.
sourcepub fn aws_organizations_source(
&self
) -> Option<&ResourceDataSyncAwsOrganizationsSource>
pub fn aws_organizations_source( &self ) -> Option<&ResourceDataSyncAwsOrganizationsSource>
Information about the AwsOrganizationsSource
resource data sync source. A sync source of this type can synchronize data from Organizations.
sourcepub fn source_regions(&self) -> &[String]
pub fn source_regions(&self) -> &[String]
The SyncSource
Amazon Web Services Regions included in the resource data sync.
sourcepub fn include_future_regions(&self) -> bool
pub fn include_future_regions(&self) -> bool
Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions come online.
sourcepub fn enable_all_ops_data_sources(&self) -> bool
pub fn enable_all_ops_data_sources(&self) -> bool
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in your organization (or in the selected organization units). For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the Amazon Web Services Systems Manager User Guide.
source§impl ResourceDataSyncSource
impl ResourceDataSyncSource
sourcepub fn builder() -> ResourceDataSyncSourceBuilder
pub fn builder() -> ResourceDataSyncSourceBuilder
Creates a new builder-style object to manufacture ResourceDataSyncSource
.
Trait Implementations§
source§impl Clone for ResourceDataSyncSource
impl Clone for ResourceDataSyncSource
source§fn clone(&self) -> ResourceDataSyncSource
fn clone(&self) -> ResourceDataSyncSource
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResourceDataSyncSource
impl Debug for ResourceDataSyncSource
source§impl PartialEq for ResourceDataSyncSource
impl PartialEq for ResourceDataSyncSource
source§fn eq(&self, other: &ResourceDataSyncSource) -> bool
fn eq(&self, other: &ResourceDataSyncSource) -> bool
self
and other
values to be equal, and is used
by ==
.