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 ClassesNested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.codepipeline.IAction
IAction.Jsii$Default, IAction.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.iam.IGrantable
IGrantable.Jsii$Default, IGrantable.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionDeprecated.protectedSimpleSynthAction(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) Deprecated.protectedSimpleSynthAction(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 SimpleSynthActionstandardNpmSynth(StandardNpmSynthOptions options) Deprecated.static SimpleSynthActionDeprecated.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 cito install dependencies andnpx cdk synthto 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-lockfileto install dependencies andnpx cdk synthto 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:
onStateChangein 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:
onStateChangein interfaceIAction- Parameters:
name- This parameter is required.target-
-
onStateChange
Deprecated.(deprecated) Exists to implement IAction.- Specified by:
onStateChangein interfaceIAction- Parameters:
name- This parameter is required.
-
getActionProperties
Deprecated.(deprecated) Exists to implement IAction.- Specified by:
getActionPropertiesin interfaceIAction
-
getGrantPrincipal
Deprecated.(deprecated) The CodeBuild Project's principal.- Specified by:
getGrantPrincipalin interfaceIGrantable
-
getProject
Deprecated.(deprecated) Project generated to run the synth command.
-
CodePipelineclass instead