@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-13T01:13:40.874Z") @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.
|
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.
|
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(java.lang.String name)
Deprecated.
|
Rule |
onStateChange(java.lang.String name,
IRuleTarget target)
Deprecated.
|
Rule |
onStateChange(java.lang.String name,
IRuleTarget target,
RuleProps options)
Deprecated.
|
static SimpleSynthAction |
standardNpmSynth(StandardNpmSynthOptions options)
Deprecated.
|
static SimpleSynthAction |
standardYarnSynth(StandardYarnSynthOptions options)
Deprecated.
|
protected SimpleSynthAction(software.amazon.jsii.JsiiObjectRef objRef)
protected SimpleSynthAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Deprecated public static SimpleSynthAction standardNpmSynth(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.@Deprecated public static SimpleSynthAction standardYarnSynth(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.@Deprecated public ActionConfig bind(Construct scope, IStage stage, ActionBindOptions options)
@Deprecated public Rule onStateChange(java.lang.String name, IRuleTarget target, RuleProps options)
onStateChange
in interface IAction
name
- This parameter is required.target
- options
- @Deprecated public Rule onStateChange(java.lang.String name, IRuleTarget target)
onStateChange
in interface IAction
name
- This parameter is required.target
- @Deprecated public Rule onStateChange(java.lang.String name)
onStateChange
in interface IAction
name
- This parameter is required.@Deprecated public ActionProperties getActionProperties()
getActionProperties
in interface IAction
@Deprecated public IPrincipal getGrantPrincipal()
getGrantPrincipal
in interface IGrantable
@Deprecated public IProject getProject()