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.119.0 (build 1634eac)",
date="2025-11-17T14:41:04.177Z")
@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
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 IRolegetRole()The role that will be assumed by the pipeline prior to executing theS3Sourceaction.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
-
getRole
The role that will be assumed by the pipeline prior to executing theS3Sourceaction.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.BuilderofS3SourceOptions
-