Interface CodePipelineTargetOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TargetBaseProps
- All Known Implementing Classes:
CodePipelineTargetOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.723Z")
@Stability(Stable)
public interface CodePipelineTargetOptions
extends software.amazon.jsii.JsiiSerializable, TargetBaseProps
Customization options when creating a
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.services.events.targets.*; import software.amazon.awscdk.services.iam.*; import software.amazon.awscdk.services.sqs.*; import software.amazon.awscdk.core.*; Queue queue; Role role; CodePipelineTargetOptions codePipelineTargetOptions = CodePipelineTargetOptions.builder() .deadLetterQueue(queue) .eventRole(role) .maxEventAge(Duration.minutes(30)) .retryAttempts(123) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCodePipelineTargetOptions
static final class
An implementation forCodePipelineTargetOptions
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.events.targets.TargetBaseProps
getDeadLetterQueue, getMaxEventAge, getRetryAttempts
-
Method Details
-
getEventRole
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
-
builder
- Returns:
- a
CodePipelineTargetOptions.Builder
ofCodePipelineTargetOptions
-