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.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.866Z")
@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.pipelines.*;
S3SourceOptions s3SourceOptions = S3SourceOptions.builder()
.actionName("actionName")
.trigger(S3Trigger.NONE)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forS3SourceOptionsstatic final classAn implementation forS3SourceOptions -
Method Summary
Modifier and TypeMethodDescriptionstatic S3SourceOptions.Builderbuilder()default StringThe action name used for this source in the CodePipeline.default S3TriggerHow 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
-
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
-
builder
- Returns:
- a
S3SourceOptions.BuilderofS3SourceOptions
-