ActionBindOptions

class aws_cdk.aws_iotevents.ActionBindOptions(*, role)

Bases: object

(experimental) Options when binding a Action to a detector model.

Parameters

role (IRole) – (experimental) The IAM role assumed by IoT Events to perform the action.

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_iam as iam
import aws_cdk.aws_iotevents as iotevents

# role: iam.Role

action_bind_options = iotevents.ActionBindOptions(
    role=role
)

Attributes

role

(experimental) The IAM role assumed by IoT Events to perform the action.

Stability

experimental

Return type

IRole