@Stability(value=Experimental) public static final class S3SourceActionProps.Builder extends Object implements software.amazon.jsii.Builder<S3SourceActionProps>
S3SourceActionProps
Constructor and Description |
---|
Builder() |
@Stability(value=Experimental) public S3SourceActionProps.Builder bucket(IBucket bucket)
S3SourceActionProps.getBucket()
bucket
- The Amazon S3 bucket that stores the source code. This parameter is required.this
@Stability(value=Experimental) public S3SourceActionProps.Builder bucketKey(String bucketKey)
S3SourceActionProps.getBucketKey()
bucketKey
- The key within the S3 bucket that stores the source code. This parameter is required.this
@Stability(value=Experimental) public S3SourceActionProps.Builder output(Artifact output)
S3SourceActionProps.getOutput()
output
- the value to be set. This parameter is required.this
@Stability(value=Experimental) public S3SourceActionProps.Builder trigger(S3Trigger trigger)
S3SourceActionProps.getTrigger()
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=Experimental) public S3SourceActionProps.Builder role(IRole role)
CommonAwsActionProps.getRole()
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 {@link IAction.bind}
method in the {@link ActionBindOptions.role} property.this
@Stability(value=Experimental) public S3SourceActionProps.Builder actionName(String actionName)
CommonActionProps.getActionName()
actionName
- The physical, human-readable name of the Action. This parameter is required.
Note that Action names must be unique within a single Stage.this
@Stability(value=Experimental) public S3SourceActionProps.Builder runOrder(Number runOrder)
CommonActionProps.getRunOrder()
runOrder
- The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.this
@Stability(value=Experimental) public S3SourceActionProps.Builder variablesNamespace(String variablesNamespace)
CommonActionProps.getVariablesNamespace()
variablesNamespace
- The name of the namespace to use for variables emitted by this action.this
@Stability(value=Experimental) public S3SourceActionProps build()
build
in interface software.amazon.jsii.Builder<S3SourceActionProps>
S3SourceActionProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.