AWSIoTCloudwatchLogsAction

Objective-C

@interface AWSIoTCloudwatchLogsAction

Swift

class AWSIoTCloudwatchLogsAction

Describes an action that sends data to CloudWatch Logs.

Required parameters: [roleArn, logGroupName]

  • Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include true or false(default).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable batchMode;

    Swift

    var batchMode: NSNumber? { get set }
  • The CloudWatch log group to which the action sends data.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable logGroupName;

    Swift

    var logGroupName: String? { get set }
  • The IAM role that allows access to the CloudWatch log.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleArn;

    Swift

    var roleArn: String? { get set }