Package software.amazon.awscdk.pipelines
Interface S3SourceOptions
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
S3SourceOptions.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-17T21:37:40.998Z")
@Stability(Stable)
public interface S3SourceOptions
extends software.amazon.jsii.JsiiSerializable
Options for S3 sources.
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.codepipeline.actions.*; import software.amazon.awscdk.services.iam.*; import software.amazon.awscdk.pipelines.*; Role role; S3SourceOptions s3SourceOptions = S3SourceOptions.builder() .actionName("actionName") .role(role) .trigger(S3Trigger.NONE) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forS3SourceOptions
static final class
An implementation forS3SourceOptions
-
Method Summary
Modifier and TypeMethodDescriptionstatic S3SourceOptions.Builder
builder()
default String
The action name used for this source in the CodePipeline.default IRole
getRole()
The role that will be assumed by the pipeline prior to executing theS3Source
action.default S3Trigger
How should CodePipeline detect source changes for this Action.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getActionName
The action name used for this source in the CodePipeline.Default: - The bucket name
-
getRole
The role that will be assumed by the pipeline prior to executing theS3Source
action.Default: - a new role will be generated
-
getTrigger
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.
Default: S3Trigger.POLL
- See Also:
-
builder
- Returns:
- a
S3SourceOptions.Builder
ofS3SourceOptions
-