CommonActionProps

class aws_cdk.aws_iot_actions.CommonActionProps(*, role=None)

Bases: object

(experimental) Common properties shared by Actions it access to AWS service.

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_iam as iam
import aws_cdk.aws_iot_actions as iot_actions

# role: iam.Role

common_action_props = iot_actions.CommonActionProps(
    role=role
)

Attributes

role

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

Default:

a new role will be created

Stability:

experimental