NAME

Paws::SSM::CreateResourceDataSync - Arguments for method CreateResourceDataSync on Paws::SSM

DESCRIPTION

This class represents the parameters used for calling the method CreateResourceDataSync on the Amazon Simple Systems Manager (SSM) service. Use the attributes of this class as arguments to method CreateResourceDataSync.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateResourceDataSync.

SYNOPSIS

my $ssm = Paws->service('SSM');
my $CreateResourceDataSyncResult = $ssm->CreateResourceDataSync(
  SyncName      => 'MyResourceDataSyncName',
  S3Destination => {
    BucketName   => 'MyResourceDataSyncS3BucketName',    # min: 1, max: 2048
    Region       => 'MyResourceDataSyncS3Region',        # min: 1, max: 64
    SyncFormat   => 'JsonSerDe',                         # values: JsonSerDe
    AWSKMSKeyARN =>
      'MyResourceDataSyncAWSKMSKeyARN',    # min: 1, max: 512; OPTIONAL
    DestinationDataSharing => {
      DestinationDataSharingType =>
        'MyResourceDataSyncDestinationDataSharingType'
      ,                                    # min: 1, max: 64; OPTIONAL
    },    # OPTIONAL
    Prefix => 'MyResourceDataSyncS3Prefix',    # min: 1, max: 256; OPTIONAL
  },    # OPTIONAL
  SyncSource => {
    SourceRegions => [
      'MyResourceDataSyncSourceRegion', ...    # min: 1, max: 64
    ],
    SourceType => 'MyResourceDataSyncSourceType',    # min: 1, max: 64
    AwsOrganizationsSource => {
      OrganizationSourceType =>
        'MyResourceDataSyncOrganizationSourceType',    # min: 1, max: 64
      OrganizationalUnits => [
        {
          OrganizationalUnitId => 'MyResourceDataSyncOrganizationalUnitId'
          ,    # min: 1, max: 128; OPTIONAL
        },
        ...
      ],    # min: 1, max: 1000; OPTIONAL
    },    # OPTIONAL
    EnableAllOpsDataSources => 1,    # OPTIONAL
    IncludeFutureRegions    => 1,    # OPTIONAL
  },    # OPTIONAL
  SyncType => 'MyResourceDataSyncType',    # OPTIONAL
);

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ssm/CreateResourceDataSync

ATTRIBUTES

S3Destination => Paws::SSM::ResourceDataSyncS3Destination

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

REQUIRED SyncName => Str

A name for the configuration.

SyncSource => Paws::SSM::ResourceDataSyncSource

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

SyncType => Str

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.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateResourceDataSync in Paws::SSM

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues