Skip to contents

Starts an import from a data source to CloudWatch Log and creates a managed log group as the destination for the imported data. Currently, CloudTrail Event Data Store is the only supported data source.

See https://www.paws-r-sdk.com/docs/cloudwatchlogs_create_import_task/ for full documentation.

Usage

cloudwatchlogs_create_import_task(
  importSourceArn,
  importRoleArn,
  importFilter = NULL
)

Arguments

importSourceArn

[required] The ARN of the source to import from.

importRoleArn

[required] The ARN of the IAM role that grants CloudWatch Logs permission to import from the CloudTrail Lake Event Data Store.

importFilter

Optional filters to constrain the import by CloudTrail event time. Times are specified in Unix timestamp milliseconds. The range of data being imported must be within the specified source's retention period.