Options for S3 sources

interface S3SourceOptions {
    actionName?: string;
    role?: IRole;
    trigger?: S3Trigger;
}

Properties

actionName?: string

The action name used for this source in the CodePipeline

- The bucket name
role?: IRole

The role that will be assumed by the pipeline prior to executing the S3Source action.

- a new role will be generated
trigger?: S3Trigger

How should CodePipeline detect source changes for this Action. Note that if this is S3Trigger.EVENTS, you need to make sure to include the source Bucket in a CloudTrail Trail, as otherwise the CloudWatch Events will not be emitted.