@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.942Z") @Stability(value=Stable) public interface S3SourceOptions extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
S3SourceOptions.Builder
A builder for
S3SourceOptions |
static class |
S3SourceOptions.Jsii$Proxy
An implementation for
S3SourceOptions |
| Modifier and Type | Method and Description |
|---|---|
static S3SourceOptions.Builder |
builder() |
default String |
getActionName()
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 the `S3Source` action.
|
default S3Trigger |
getTrigger()
How should CodePipeline detect source changes for this Action.
|
@Stability(value=Stable) @Nullable default String getActionName()
Default: - The bucket name
@Stability(value=Stable) @Nullable default IRole getRole()
Default: - a new role will be generated
@Stability(value=Stable) @Nullable default S3Trigger getTrigger()
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
@Stability(value=Stable) static S3SourceOptions.Builder builder()
S3SourceOptions.Builder of S3SourceOptionsCopyright © 2022. All rights reserved.