@Stability(value=Experimental) public static final class CodePipeline.Builder extends Object implements software.amazon.jsii.Builder<CodePipeline>
CodePipeline.| Modifier and Type | Method and Description |
|---|---|
CodePipeline |
build() |
static CodePipeline.Builder |
create(IPipeline pipeline) |
CodePipeline.Builder |
eventRole(IRole eventRole)
(experimental) The role to assume before invoking the target (i.e., the pipeline) when the given rule is triggered.
|
@Stability(value=Experimental) public static CodePipeline.Builder create(IPipeline pipeline)
pipeline - This parameter is required.CodePipeline.Builder.@Stability(value=Experimental) public CodePipeline.Builder eventRole(IRole eventRole)
Default: - a new role will be created
eventRole - The role to assume before invoking the target (i.e., the pipeline) when the given rule is triggered. This parameter is required.this@Stability(value=Experimental) public CodePipeline build()
build in interface software.amazon.jsii.Builder<CodePipeline>Copyright © 2020. All rights reserved.