Class: Aws::SSM::Types::CreateResourceDataSyncRequest

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 CreateResourceDataSyncRequest data as a hash:

{
  sync_name: "ResourceDataSyncName", # required
  s3_destination: {
    bucket_name: "ResourceDataSyncS3BucketName", # required
    prefix: "ResourceDataSyncS3Prefix",
    sync_format: "JsonSerDe", # required, accepts JsonSerDe
    region: "ResourceDataSyncS3Region", # required
    awskms_key_arn: "ResourceDataSyncAWSKMSKeyARN",
    destination_data_sharing: {
      destination_data_sharing_type: "ResourceDataSyncDestinationDataSharingType",
    },
  },
  sync_type: "ResourceDataSyncType",
  sync_source: {
    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,
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#s3_destinationTypes::ResourceDataSyncS3Destination

Amazon S3 configuration details for the sync. This parameter is required if the `SyncType` value is SyncToDestination.


4167
4168
4169
4170
4171
4172
4173
4174
# File 'lib/aws-sdk-ssm/types.rb', line 4167

class CreateResourceDataSyncRequest < Struct.new(
  :sync_name,
  :s3_destination,
  :sync_type,
  :sync_source)
  SENSITIVE = []
  include Aws::Structure
end

#sync_nameString

A name for the configuration.

Returns:

  • (String)

4167
4168
4169
4170
4171
4172
4173
4174
# File 'lib/aws-sdk-ssm/types.rb', line 4167

class CreateResourceDataSyncRequest < Struct.new(
  :sync_name,
  :s3_destination,
  :sync_type,
  :sync_source)
  SENSITIVE = []
  include Aws::Structure
end

#sync_sourceTypes::ResourceDataSyncSource

Specify information about the data sources to synchronize. This parameter is required if the `SyncType` value is SyncFromSource.


4167
4168
4169
4170
4171
4172
4173
4174
# File 'lib/aws-sdk-ssm/types.rb', line 4167

class CreateResourceDataSyncRequest < Struct.new(
  :sync_name,
  :s3_destination,
  :sync_type,
  :sync_source)
  SENSITIVE = []
  include Aws::Structure
end

#sync_typeString

Specify `SyncToDestination` to create a resource data sync that synchronizes data to an S3 bucket for Inventory. If you specify `SyncToDestination`, you must provide a value for `S3Destination`. Specify `SyncFromSource` to synchronize data from a single account and multiple Regions, or multiple Amazon Web Services accounts and Amazon Web Services Regions, as listed in Organizations for Explorer. If you specify `SyncFromSource`, you must provide a value for `SyncSource`. The default value is `SyncToDestination`.

Returns:

  • (String)

4167
4168
4169
4170
4171
4172
4173
4174
# File 'lib/aws-sdk-ssm/types.rb', line 4167

class CreateResourceDataSyncRequest < Struct.new(
  :sync_name,
  :s3_destination,
  :sync_type,
  :sync_source)
  SENSITIVE = []
  include Aws::Structure
end