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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ssm/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,
  },
}

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.



3566
3567
3568
3569
3570
3571
3572
3573
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3566

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)


3566
3567
3568
3569
3570
3571
3572
3573
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3566

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.



3566
3567
3568
3569
3570
3571
3572
3573
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3566

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 AWS accounts and Regions, as listed in AWS Organizations for Explorer. If you specify SyncFromSource, you must provide a value for SyncSource. The default value is SyncToDestination.

Returns:

  • (String)


3566
3567
3568
3569
3570
3571
3572
3573
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 3566

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