@Stability(value=Experimental) @Internal public static final class SimpleSynthActionProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements SimpleSynthActionProps
SimpleSynthActionPropssoftware.amazon.jsii.JsiiObject.InitializationModeSimpleSynthActionProps.Builder, SimpleSynthActionProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
protected |
Jsii$Proxy(String synthCommand,
String buildCommand,
List<String> buildCommands,
String installCommand,
List<String> installCommands,
List<String> testCommands,
Artifact cloudAssemblyArtifact,
Artifact sourceArtifact,
String actionName,
List<? extends AdditionalArtifact> additionalArtifacts,
List<String> copyEnvironmentVariables,
BuildEnvironment environment,
Map<String,? extends BuildEnvironmentVariable> environmentVariables,
String projectName,
List<? extends PolicyStatement> rolePolicyStatements,
String subdirectory,
SubnetSelection subnetSelection,
IVpc vpc)
Constructor that initializes the object based on literal property values passed by the
SimpleSynthActionProps.Builder. |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
String |
getActionName()
(experimental) Name of the build action.
|
List<AdditionalArtifact> |
getAdditionalArtifacts()
(experimental) Produce additional output artifacts after the build based on the given directories.
|
String |
getBuildCommand()
(deprecated) The build command.
|
List<String> |
getBuildCommands()
(experimental) The build commands.
|
Artifact |
getCloudAssemblyArtifact()
(experimental) The artifact where the CloudAssembly should be emitted.
|
List<String> |
getCopyEnvironmentVariables()
(experimental) Environment variables to copy over from parent env.
|
BuildEnvironment |
getEnvironment()
(experimental) Build environment to use for CodeBuild job.
|
Map<String,BuildEnvironmentVariable> |
getEnvironmentVariables()
(experimental) Environment variables to send into build.
|
String |
getInstallCommand()
(deprecated) The install command.
|
List<String> |
getInstallCommands()
(experimental) Install commands.
|
String |
getProjectName()
(experimental) Name of the CodeBuild project.
|
List<PolicyStatement> |
getRolePolicyStatements()
(experimental) Policy statements to add to role used during the synth.
|
Artifact |
getSourceArtifact()
(experimental) The source artifact of the CodePipeline.
|
String |
getSubdirectory()
(experimental) Directory inside the source where package.json and cdk.json are located.
|
SubnetSelection |
getSubnetSelection()
(experimental) Which subnets to use.
|
String |
getSynthCommand()
(experimental) The synth command.
|
List<String> |
getTestCommands()
(experimental) Test commands.
|
IVpc |
getVpc()
(experimental) The VPC where to execute the SimpleSynth.
|
int |
hashCode() |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitbuilderprotected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef - Reference to the JSII managed object.protected Jsii$Proxy(String synthCommand, String buildCommand, List<String> buildCommands, String installCommand, List<String> installCommands, List<String> testCommands, Artifact cloudAssemblyArtifact, Artifact sourceArtifact, String actionName, List<? extends AdditionalArtifact> additionalArtifacts, List<String> copyEnvironmentVariables, BuildEnvironment environment, Map<String,? extends BuildEnvironmentVariable> environmentVariables, String projectName, List<? extends PolicyStatement> rolePolicyStatements, String subdirectory, SubnetSelection subnetSelection, IVpc vpc)
SimpleSynthActionProps.Builder.public final String getSynthCommand()
SimpleSynthActionPropsgetSynthCommand in interface SimpleSynthActionPropspublic final String getBuildCommand()
SimpleSynthActionPropsIf your programming language requires a compilation step, put the compilation command here.
Default: - No build required
getBuildCommand in interface SimpleSynthActionPropspublic final List<String> getBuildCommands()
SimpleSynthActionPropsIf your programming language requires a compilation step, put the compilation command here.
Default: - No build required
getBuildCommands in interface SimpleSynthActionPropspublic final String getInstallCommand()
SimpleSynthActionProps
If not provided by the build image or another dependency
management tool, at least install the CDK CLI here using
npm install -g aws-cdk.
Default: - No install required
getInstallCommand in interface SimpleSynthActionPropspublic final List<String> getInstallCommands()
SimpleSynthActionProps
If not provided by the build image or another dependency
management tool, at least install the CDK CLI here using
npm install -g aws-cdk.
Default: - No install required
getInstallCommands in interface SimpleSynthActionPropspublic final List<String> getTestCommands()
SimpleSynthActionPropsThese commands are run after the build commands but before the synth command.
Default: - No test commands
getTestCommands in interface SimpleSynthActionPropspublic final Artifact getCloudAssemblyArtifact()
SimpleSynthOptionsgetCloudAssemblyArtifact in interface SimpleSynthOptionspublic final Artifact getSourceArtifact()
SimpleSynthOptionsgetSourceArtifact in interface SimpleSynthOptionspublic final String getActionName()
SimpleSynthOptionsDefault: 'Synth'
getActionName in interface SimpleSynthOptionspublic final List<AdditionalArtifact> getAdditionalArtifacts()
SimpleSynthOptionsCan be used to produce additional artifacts during the build step, separate from the cloud assembly, which can be used further on in the pipeline.
Directories are evaluated with respect to subdirectory.
Default: - No additional artifacts generated
getAdditionalArtifacts in interface SimpleSynthOptionspublic final List<String> getCopyEnvironmentVariables()
SimpleSynthOptionsThese are environment variables that are being used by the build.
Default: - No environment variables copied
getCopyEnvironmentVariables in interface SimpleSynthOptionspublic final BuildEnvironment getEnvironment()
SimpleSynthOptionsDefault: BuildEnvironment.LinuxBuildImage.STANDARD_4_0
getEnvironment in interface SimpleSynthOptionspublic final Map<String,BuildEnvironmentVariable> getEnvironmentVariables()
SimpleSynthOptionsDefault: - No additional environment variables
getEnvironmentVariables in interface SimpleSynthOptionspublic final String getProjectName()
SimpleSynthOptionsDefault: - Automatically generated
getProjectName in interface SimpleSynthOptionspublic final List<PolicyStatement> getRolePolicyStatements()
SimpleSynthOptionsCan be used to add acces to a CodeArtifact repository etc.
Default: - No policy statements added to CodeBuild Project Role
getRolePolicyStatements in interface SimpleSynthOptionspublic final String getSubdirectory()
SimpleSynthOptionsDefault: - Repository root
getSubdirectory in interface SimpleSynthOptionspublic final SubnetSelection getSubnetSelection()
SimpleSynthOptionsOnly used if 'vpc' is supplied.
Default: - All private subnets.
getSubnetSelection in interface SimpleSynthOptionspublic final IVpc getVpc()
SimpleSynthOptionsDefault: - No VPC
getVpc in interface SimpleSynthOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2021. All rights reserved.