Learn R Programming

paws.management (version 0.1.6)

ssm_update_resource_data_sync: Update a resource data sync

Description

Update a resource data sync. After you create a resource data sync for a Region, you can\'t change the account options for that sync. For example, if you create a sync in the us-east-2 (Ohio) Region and you choose the Include only the current account option, you can\'t edit that sync later and choose the Include all accounts from my AWS Organizations configuration option. Instead, you must delete the first resource data sync, and create a new one.

Usage

ssm_update_resource_data_sync(SyncName, SyncType, SyncSource)

Arguments

SyncName

[required] The name of the resource data sync you want to update.

SyncType

[required] The type of resource data sync. If SyncType is SyncToDestination, then the resource data sync synchronizes data to an Amazon S3 bucket. If the SyncType is SyncFromSource then the resource data sync synchronizes data from AWS Organizations or from multiple AWS Regions.

SyncSource

[required] Specify information about the data sources to synchronize.

Request syntax

svc$update_resource_data_sync(
  SyncName = "string",
  SyncType = "string",
  SyncSource = list(
    SourceType = "string",
    AwsOrganizationsSource = list(
      OrganizationSourceType = "string",
      OrganizationalUnits = list(
        list(
          OrganizationalUnitId = "string"
        )
      )
    ),
    SourceRegions = list(
      "string"
    ),
    IncludeFutureRegions = TRUE|FALSE
  )
)