@Stability(value=Stable) public static final class S3SourceAction.Builder extends Object
S3SourceAction.| Modifier and Type | Method and Description |
|---|---|
S3SourceAction.Builder |
actionName(String actionName) |
S3SourceAction.Builder |
bucket(IBucket bucket) |
S3SourceAction.Builder |
bucketKey(String bucketKey) |
S3SourceAction |
build() |
static S3SourceAction.Builder |
create() |
S3SourceAction.Builder |
output(Artifact output) |
S3SourceAction.Builder |
role(IRole role) |
S3SourceAction.Builder |
runOrder(Number runOrder) |
S3SourceAction.Builder |
trigger(S3Trigger trigger) |
@Stability(value=Stable) public static S3SourceAction.Builder create()
S3SourceAction.Builder.@Stability(value=Stable) public S3SourceAction.Builder actionName(String actionName)
actionName - The physical, human-readable name of the Action. Not that Action names must be unique within a single Stage. This parameter is required.this@Stability(value=Stable) public S3SourceAction.Builder runOrder(Number runOrder)
runOrder - The runOrder property for this Action. RunOrder determines the relative order in which multiple Actions in the same Stage execute. This parameter is required.this@Stability(value=Stable) public S3SourceAction.Builder role(IRole role)
role - The Role in which context's this Action will be executing in. The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your IAction.bind method in the ActionBindOptions.role property. This parameter is required.this@Stability(value=Stable) public S3SourceAction.Builder bucket(IBucket bucket)
bucket - The Amazon S3 bucket that stores the source code. This parameter is required.this@Stability(value=Stable) public S3SourceAction.Builder bucketKey(String bucketKey)
bucketKey - The key within the S3 bucket that stores the source code. This parameter is required.this@Stability(value=Stable) public S3SourceAction.Builder output(Artifact output)
output - This parameter is required.this@Stability(value=Stable) public S3SourceAction.Builder trigger(S3Trigger trigger)
trigger - 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. This parameter is required.this@Stability(value=Stable) public S3SourceAction build()
Copyright © 2019. All rights reserved.