@Stability(value=Stable) public static final class S3SourceActionProps.Builder extends Object
S3SourceActionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
S3SourceActionProps.Builder |
actionName(String actionName)
Sets the value of ActionName
|
S3SourceActionProps.Builder |
bucket(IBucket bucket)
Sets the value of Bucket
|
S3SourceActionProps.Builder |
bucketKey(String bucketKey)
Sets the value of BucketKey
|
S3SourceActionProps |
build()
Builds the configured instance.
|
S3SourceActionProps.Builder |
output(Artifact output)
Sets the value of Output
|
S3SourceActionProps.Builder |
role(IRole role)
Sets the value of Role
|
S3SourceActionProps.Builder |
runOrder(Number runOrder)
Sets the value of RunOrder
|
S3SourceActionProps.Builder |
trigger(S3Trigger trigger)
Sets the value of Trigger
|
@Stability(value=Stable) public S3SourceActionProps.Builder bucket(IBucket bucket)
bucket - The Amazon S3 bucket that stores the source code. This parameter is required.this@Stability(value=Stable) public S3SourceActionProps.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 S3SourceActionProps.Builder output(Artifact output)
output - the value to be set. This parameter is required.this@Stability(value=Stable) public S3SourceActionProps.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@Stability(value=Stable) public S3SourceActionProps.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@Stability(value=Stable) public S3SourceActionProps.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 S3SourceActionProps.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@Stability(value=Stable) public S3SourceActionProps build()
S3SourceActionPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.