Interface CodePipelineTargetOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,TargetBaseProps
- All Known Implementing Classes:
CodePipelineTargetOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-15T10:24:59.764Z")
@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.*; import software.amazon.awscdk.services.events.targets.*; import software.amazon.awscdk.services.iam.*; import software.amazon.awscdk.services.sqs.*; 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
-