CloudWatchLogsActionProps

class aws_cdk.aws_iot_actions_alpha.CloudWatchLogsActionProps(*, role=None)

Bases: CommonActionProps

(experimental) Configuration properties of an action for CloudWatch Logs.

Parameters:

role (Optional[IRole]) – (experimental) The IAM role that allows access to AWS service. Default: a new role will be created

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_iot_actions_alpha as iot_actions_alpha
from aws_cdk import aws_iam as iam

# role: iam.Role

cloud_watch_logs_action_props = iot_actions_alpha.CloudWatchLogsActionProps(
    role=role
)

Attributes

role

(experimental) The IAM role that allows access to AWS service.

Default:

a new role will be created

Stability:

experimental