Package software.amazon.awscdk.pipelines
Class SimpleSynthAction
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.pipelines.SimpleSynthAction
- All Implemented Interfaces:
IAction
,IGrantable
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.880Z")
@Stability(Deprecated)
@Deprecated
public class SimpleSynthAction
extends software.amazon.jsii.JsiiObject
implements IAction, IGrantable
Deprecated.
(deprecated) A standard synth with a generated buildspec.
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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.IAction
IAction.Jsii$Default, IAction.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionDeprecated.protected
SimpleSynthAction
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protected
SimpleSynthAction
(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbind
(Construct scope, IStage stage, ActionBindOptions options) Deprecated.Deprecated.Deprecated.Deprecated.onStateChange
(String name) Deprecated.onStateChange
(String name, IRuleTarget target) Deprecated.onStateChange
(String name, IRuleTarget target, RuleProps options) Deprecated.static SimpleSynthAction
standardNpmSynth
(StandardNpmSynthOptions options) Deprecated.static SimpleSynthAction
Deprecated.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
SimpleSynthAction
protected SimpleSynthAction(software.amazon.jsii.JsiiObjectRef objRef) Deprecated. -
SimpleSynthAction
protected SimpleSynthAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated. -
SimpleSynthAction
Deprecated.- Parameters:
props
- This parameter is required.
-
-
Method Details
-
standardNpmSynth
@Stability(Deprecated) @Deprecated @NotNull public static SimpleSynthAction standardNpmSynth(@NotNull StandardNpmSynthOptions options) Deprecated.(deprecated) Create a standard NPM synth action.Uses
npm ci
to install dependencies andnpx cdk synth
to synthesize.If you need a build step, add
buildCommand: 'npm run build'
.- Parameters:
options
- This parameter is required.
-
standardYarnSynth
@Stability(Deprecated) @Deprecated @NotNull public static SimpleSynthAction standardYarnSynth(@NotNull StandardYarnSynthOptions options) Deprecated.(deprecated) Create a standard Yarn synth action.Uses
yarn install --frozen-lockfile
to install dependencies andnpx cdk synth
to synthesize.If you need a build step, add
buildCommand: 'yarn build'
.- Parameters:
options
- This parameter is required.
-
bind
@Stability(Deprecated) @Deprecated @NotNull public ActionConfig bind(@NotNull Construct scope, @NotNull IStage stage, @NotNull ActionBindOptions options) Deprecated.(deprecated) Exists to implement IAction. -
onStateChange
@Stability(Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target, @Nullable RuleProps options) Deprecated.(deprecated) Exists to implement IAction.- Specified by:
onStateChange
in interfaceIAction
- Parameters:
name
- This parameter is required.target
-options
-
-
onStateChange
@Stability(Deprecated) @Deprecated @NotNull public Rule onStateChange(@NotNull String name, @Nullable IRuleTarget target) Deprecated.(deprecated) Exists to implement IAction.- Specified by:
onStateChange
in interfaceIAction
- Parameters:
name
- This parameter is required.target
-
-
onStateChange
Deprecated.(deprecated) Exists to implement IAction.- Specified by:
onStateChange
in interfaceIAction
- Parameters:
name
- This parameter is required.
-
getActionProperties
Deprecated.(deprecated) Exists to implement IAction.- Specified by:
getActionProperties
in interfaceIAction
-
getGrantPrincipal
Deprecated.(deprecated) The CodeBuild Project's principal.- Specified by:
getGrantPrincipal
in interfaceIGrantable
-
getProject
Deprecated.(deprecated) Project generated to run the synth command.
-
CodePipeline
class instead