CodePipelineTargetOptions

class aws_cdk.aws_events_targets.CodePipelineTargetOptions(*, event_role=None)

Bases: object

__init__(*, event_role=None)

Customization options when creating a {@link CodePipeline} event target.

Parameters

event_role (Optional[IRole]) – The role to assume before invoking the target (i.e., the pipeline) when the given rule is triggered. Default: - a new role will be created

Attributes

event_role

The role to assume before invoking the target (i.e., the pipeline) when the given rule is triggered.

default :default: - a new role will be created

Return type

Optional[IRole]