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",
  },
  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,
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#s3_destinationTypes::ResourceDataSyncS3Destination

Amazon S3 configuration details for the sync.



3273
3274
3275
3276
3277
3278
3279
# File 'lib/aws-sdk-ssm/types.rb', line 3273

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

#sync_nameString

A name for the configuration.

Returns:

  • (String)


3273
3274
3275
3276
3277
3278
3279
# File 'lib/aws-sdk-ssm/types.rb', line 3273

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

#sync_sourceTypes::ResourceDataSyncSource

Specify information about the data sources to synchronize.



3273
3274
3275
3276
3277
3278
3279
# File 'lib/aws-sdk-ssm/types.rb', line 3273

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

#sync_typeString

Specify ‘SyncToDestination` to create a resource data sync that synchronizes data from multiple AWS Regions to an Amazon S3 bucket. Specify `SyncFromSource` to synchronize data from multiple AWS accounts and Regions, as listed in AWS Organizations.

Returns:

  • (String)


3273
3274
3275
3276
3277
3278
3279
# File 'lib/aws-sdk-ssm/types.rb', line 3273

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