@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:30:29.084Z") @Stability(value=Experimental) public class PublishAssetsAction extends Construct implements IAction
Creates a CodeBuild project which will use the CDK CLI to prepare and publish the asset.
You do not need to instantiate this action -- it will automatically be added by the pipeline when you add stacks that use assets.
| Modifier and Type | Class and Description |
|---|---|
static class |
PublishAssetsAction.Builder
(experimental) A fluent builder for
PublishAssetsAction. |
software.amazon.jsii.JsiiObject.InitializationModeIAction.Jsii$Default, IAction.Jsii$ProxyIConstruct.Jsii$Default, IConstruct.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
PublishAssetsAction(software.constructs.Construct scope,
String id,
PublishAssetsActionProps props) |
protected |
PublishAssetsAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
PublishAssetsAction(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPublishCommand(String relativeManifestPath,
String assetSelector)
(experimental) Add a single publishing command.
|
ActionConfig |
bind(Construct scope,
IStage stage,
ActionBindOptions options)
(experimental) Exists to implement IAction.
|
ActionProperties |
getActionProperties()
(experimental) Exists to implement IAction.
|
Rule |
onStateChange(String name)
(experimental) Exists to implement IAction.
|
Rule |
onStateChange(String name,
IRuleTarget target)
(experimental) Exists to implement IAction.
|
Rule |
onStateChange(String name,
IRuleTarget target,
RuleProps options)
(experimental) Exists to implement IAction.
|
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected PublishAssetsAction(software.amazon.jsii.JsiiObjectRef objRef)
protected PublishAssetsAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public PublishAssetsAction(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
PublishAssetsActionProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental)
public void addPublishCommand(@NotNull
String relativeManifestPath,
@NotNull
String assetSelector)
Manifest path should be relative to the root Cloud Assembly.
relativeManifestPath - This parameter is required.assetSelector - This parameter is required.@Stability(value=Experimental) @NotNull public ActionConfig bind(@NotNull Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options)
@Stability(value=Experimental) @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target, @Nullable RuleProps options)
onStateChange in interface IActionname - This parameter is required.target - options - @Stability(value=Experimental) @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target)
onStateChange in interface IActionname - This parameter is required.target - @Stability(value=Experimental) @NotNull public Rule onStateChange(@NotNull String name)
onStateChange in interface IActionname - This parameter is required.@Stability(value=Experimental) @NotNull public ActionProperties getActionProperties()
getActionProperties in interface IActionCopyright © 2021. All rights reserved.