@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:30.916Z") @Stability(value=Experimental) public interface CodePipelineTargetOptions extends software.amazon.jsii.JsiiSerializable, TargetBaseProps
CodePipeline event target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.core.*;
import software.amazon.awscdk.services.events.targets.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.sqs.*;
Duration duration;
Queue queue;
Role role;
CodePipelineTargetOptions codePipelineTargetOptions = CodePipelineTargetOptions.builder()
.deadLetterQueue(queue)
.eventRole(role)
.maxEventAge(duration)
.retryAttempts(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CodePipelineTargetOptions.Builder
A builder for
CodePipelineTargetOptions |
static class |
CodePipelineTargetOptions.Jsii$Proxy
An implementation for
CodePipelineTargetOptions |
| Modifier and Type | Method and Description |
|---|---|
static CodePipelineTargetOptions.Builder |
builder() |
default IRole |
getEventRole()
(experimental) The role to assume before invoking the target (i.e., the pipeline) when the given rule is triggered.
|
getDeadLetterQueue, getMaxEventAge, getRetryAttempts@Stability(value=Experimental) @Nullable default IRole getEventRole()
Default: - a new role will be created
@Stability(value=Experimental) static CodePipelineTargetOptions.Builder builder()
builder in interface TargetBasePropsCodePipelineTargetOptions.Builder of CodePipelineTargetOptionsCopyright © 2022. All rights reserved.