@Stability(value=Stable) public static final class EcrSourceAction.Builder extends Object implements software.amazon.jsii.Builder<EcrSourceAction>
EcrSourceAction.| Modifier and Type | Method and Description |
|---|---|
EcrSourceAction.Builder |
actionName(String actionName)
The physical, human-readable name of the Action.
|
EcrSourceAction |
build() |
static EcrSourceAction.Builder |
create() |
EcrSourceAction.Builder |
imageTag(String imageTag)
The image tag that will be checked for changes.
|
EcrSourceAction.Builder |
output(Artifact output) |
EcrSourceAction.Builder |
repository(IRepository repository)
The repository that will be watched for changes.
|
EcrSourceAction.Builder |
role(IRole role)
The Role in which context's this Action will be executing in.
|
EcrSourceAction.Builder |
runOrder(Number runOrder)
The runOrder property for this Action.
|
EcrSourceAction.Builder |
variablesNamespace(String variablesNamespace)
The name of the namespace to use for variables emitted by this action.
|
@Stability(value=Stable) public static EcrSourceAction.Builder create()
EcrSourceAction.Builder.@Stability(value=Stable) public EcrSourceAction.Builder actionName(String actionName)
Note that Action names must be unique within a single Stage.
actionName - The physical, human-readable name of the Action. This parameter is required.this@Stability(value=Stable) public EcrSourceAction.Builder runOrder(Number runOrder)
RunOrder determines the relative order in which multiple Actions in the same Stage execute.
Default: 1
runOrder - The runOrder property for this Action. This parameter is required.this@Stability(value=Stable) public EcrSourceAction.Builder variablesNamespace(String variablesNamespace)
Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set
variablesNamespace - The name of the namespace to use for variables emitted by this action. This parameter is required.this@Stability(value=Stable) public EcrSourceAction.Builder role(IRole role)
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.
Default: a new Role will be generated
role - The Role in which context's this Action will be executing in. This parameter is required.this@Stability(value=Stable) public EcrSourceAction.Builder output(Artifact output)
output - This parameter is required.this@Stability(value=Stable) public EcrSourceAction.Builder repository(IRepository repository)
repository - The repository that will be watched for changes. This parameter is required.this@Stability(value=Stable) public EcrSourceAction.Builder imageTag(String imageTag)
It is not possible to trigger on changes to more than one tag.
Default: 'latest'
imageTag - The image tag that will be checked for changes. This parameter is required.this@Stability(value=Stable) public EcrSourceAction build()
build in interface software.amazon.jsii.Builder<EcrSourceAction>Copyright © 2022. All rights reserved.