AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateImportTask operation. 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.

The import task must satisfy the following constraints:

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudWatchLogs.AmazonCloudWatchLogsRequest
      Amazon.CloudWatchLogs.Model.CreateImportTaskRequest

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z

Syntax

C#
public class CreateImportTaskRequest : AmazonCloudWatchLogsRequest
         IAmazonWebServiceRequest

The CreateImportTaskRequest type exposes the following members

Constructors

NameDescription
Public Method CreateImportTaskRequest()

Properties

NameTypeDescription
Public Property ImportFilter Amazon.CloudWatchLogs.Model.ImportFilter

Gets and sets the property 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.

Public Property ImportRoleArn System.String

Gets and sets the property ImportRoleArn.

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

Public Property ImportSourceArn System.String

Gets and sets the property ImportSourceArn.

The ARN of the source to import from.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5