Class: Aws::SSM::Types::ResourceDataSyncSource

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ssm/types.rb

Overview

Note:

When making an API call, you may pass ResourceDataSyncSource data as a hash:

{
  source_type: "ResourceDataSyncSourceType", # required
  aws_organizations_source: {
    organization_source_type: "ResourceDataSyncOrganizationSourceType", # required
    organizational_units: [
      {
        organizational_unit_id: "ResourceDataSyncOrganizationalUnitId",
      },
    ],
  },
  source_regions: ["ResourceDataSyncSourceRegion"], # required
  include_future_regions: false,
  enable_all_ops_data_sources: false,
}

Information about the source of the data included in the resource data sync.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_organizations_sourceTypes::ResourceDataSyncAwsOrganizationsSource

Information about the `AwsOrganizationsSource` resource data sync source. A sync source of this type can synchronize data from Organizations.


17455
17456
17457
17458
17459
17460
17461
17462
17463
# File 'lib/aws-sdk-ssm/types.rb', line 17455

class ResourceDataSyncSource < Struct.new(
  :source_type,
  :aws_organizations_source,
  :source_regions,
  :include_future_regions,
  :enable_all_ops_data_sources)
  SENSITIVE = []
  include Aws::Structure
end

#enable_all_ops_data_sourcesBoolean

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 [About multiple account and Region resource data syncs] in the *Amazon Web Services Systems Manager User Guide*.

[1]: docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resouce-data-sync-multiple-accounts-and-regions.html

Returns:

  • (Boolean)

17455
17456
17457
17458
17459
17460
17461
17462
17463
# File 'lib/aws-sdk-ssm/types.rb', line 17455

class ResourceDataSyncSource < Struct.new(
  :source_type,
  :aws_organizations_source,
  :source_regions,
  :include_future_regions,
  :enable_all_ops_data_sources)
  SENSITIVE = []
  include Aws::Structure
end

#include_future_regionsBoolean

Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions come online.

Returns:

  • (Boolean)

17455
17456
17457
17458
17459
17460
17461
17462
17463
# File 'lib/aws-sdk-ssm/types.rb', line 17455

class ResourceDataSyncSource < Struct.new(
  :source_type,
  :aws_organizations_source,
  :source_regions,
  :include_future_regions,
  :enable_all_ops_data_sources)
  SENSITIVE = []
  include Aws::Structure
end

#source_regionsArray<String>

The `SyncSource` Amazon Web Services Regions included in the resource data sync.

Returns:

  • (Array<String>)

17455
17456
17457
17458
17459
17460
17461
17462
17463
# File 'lib/aws-sdk-ssm/types.rb', line 17455

class ResourceDataSyncSource < Struct.new(
  :source_type,
  :aws_organizations_source,
  :source_regions,
  :include_future_regions,
  :enable_all_ops_data_sources)
  SENSITIVE = []
  include Aws::Structure
end

#source_typeString

The type of data source for the resource data sync. `SourceType` is either `AwsOrganizations` (if an organization is present in Organizations) or `SingleAccountMultiRegions`.

Returns:

  • (String)

17455
17456
17457
17458
17459
17460
17461
17462
17463
# File 'lib/aws-sdk-ssm/types.rb', line 17455

class ResourceDataSyncSource < Struct.new(
  :source_type,
  :aws_organizations_source,
  :source_regions,
  :include_future_regions,
  :enable_all_ops_data_sources)
  SENSITIVE = []
  include Aws::Structure
end