@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-05-19T23:09:36.260Z") @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.InitializationMode
IAction.Jsii$Default, IAction.Jsii$Proxy
IGrantable.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, jsiiStaticSet
protected 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 IAction
name
- This parameter is required.target
- options
- @Stability(value=Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target)
onStateChange
in interface IAction
name
- This parameter is required.target
- @Stability(value=Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name)
onStateChange
in interface IAction
name
- 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 © 2023. All rights reserved.