@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:39.879Z") @Stability(value=Deprecated) @Deprecated public class SimpleSynthAction extends software.amazon.jsii.JsiiObject implements IAction, IGrantable
Example:
Artifact sourceArtifact = new Artifact();
Artifact cloudAssemblyArtifact = new Artifact();
CdkPipeline pipeline = CdkPipeline.Builder.create(this, "MyPipeline")
.cloudAssemblyArtifact(cloudAssemblyArtifact)
.synthAction(SimpleSynthAction.standardNpmSynth(StandardNpmSynthOptions.builder()
.sourceArtifact(sourceArtifact)
.cloudAssemblyArtifact(cloudAssemblyArtifact)
.environment(BuildEnvironment.builder()
.privileged(true)
.build())
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
SimpleSynthAction.Builder
Deprecated.
|
software.amazon.jsii.JsiiObject.InitializationModeIAction.Jsii$Default, IAction.Jsii$ProxyIGrantable.Jsii$Default, IGrantable.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
SimpleSynthAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
Deprecated.
|
protected |
SimpleSynthAction(software.amazon.jsii.JsiiObjectRef objRef)
Deprecated.
|
|
SimpleSynthAction(SimpleSynthActionProps props)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ActionConfig |
bind(Construct scope,
IStage stage,
ActionBindOptions options)
Deprecated.
|
ActionProperties |
getActionProperties()
Deprecated.
|
IPrincipal |
getGrantPrincipal()
Deprecated.
|
IProject |
getProject()
Deprecated.
|
Rule |
onStateChange(String name)
Deprecated.
|
Rule |
onStateChange(String name,
IRuleTarget target)
Deprecated.
|
Rule |
onStateChange(String name,
IRuleTarget target,
RuleProps options)
Deprecated.
|
static SimpleSynthAction |
standardNpmSynth(StandardNpmSynthOptions options)
Deprecated.
|
static SimpleSynthAction |
standardYarnSynth(StandardYarnSynthOptions options)
Deprecated.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected SimpleSynthAction(software.amazon.jsii.JsiiObjectRef objRef)
protected SimpleSynthAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Deprecated) @Deprecated public SimpleSynthAction(@NotNull SimpleSynthActionProps props)
props - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public static SimpleSynthAction standardNpmSynth(@NotNull StandardNpmSynthOptions options)
Uses npm ci to install dependencies and npx cdk synth to synthesize.
If you need a build step, add buildCommand: 'npm run build'.
options - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public static SimpleSynthAction standardYarnSynth(@NotNull StandardYarnSynthOptions options)
Uses yarn install --frozen-lockfile to install dependencies and npx cdk synth to synthesize.
If you need a build step, add buildCommand: 'yarn build'.
options - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public ActionConfig bind(@NotNull Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options)
@Stability(value=Deprecated) @Deprecated @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=Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target)
onStateChange in interface IActionname - This parameter is required.target - @Stability(value=Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name)
onStateChange in interface IActionname - This parameter is required.@Stability(value=Deprecated) @Deprecated @NotNull public ActionProperties getActionProperties()
getActionProperties in interface IAction@Stability(value=Deprecated) @Deprecated @NotNull public IPrincipal getGrantPrincipal()
getGrantPrincipal in interface IGrantable@Stability(value=Deprecated) @Deprecated @NotNull public IProject getProject()
Copyright © 2022. All rights reserved.