Skip to content

CloudwatchLogsAction

Source code in docs_src/capo_iot/types/cloudwatch_logs_action.py
class CloudwatchLogsAction(TypedDict, closed=True):
    role_arn: "capo_iot.types.aws_arn.AwsArn"
    """<p>The IAM role that allows access to the CloudWatch log.</p>"""
    log_group_name: "capo_iot.types.log_group_name.LogGroupName"
    """<p>The CloudWatch log group to which the action sends data.</p>"""
    batch_mode: NotRequired["capo_iot.types.batch_mode.BatchMode"]
    """<p>Indicates whether batches of log records will be extracted and uploaded into CloudWatch. Values include <code>true</code> or <code>false</code> <i>(default)</i>.</p>"""

batch_mode instance-attribute

batch_mode: NotRequired[BatchMode]

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

log_group_name instance-attribute

log_group_name: LogGroupName

The CloudWatch log group to which the action sends data.

role_arn instance-attribute

role_arn: AwsArn

The IAM role that allows access to the CloudWatch log.