@Generated(value="jsii-pacmak/1.58.0 (build f8ba112)", date="2022-05-11T19:24:39.882Z") @Stability(value=Deprecated) @Deprecated public interface SimpleSynthActionProps extends software.amazon.jsii.JsiiSerializable, SimpleSynthOptions
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codebuild.*;
import software.amazon.awscdk.services.codepipeline.*;
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.s3.*;
import software.amazon.awscdk.pipelines.*;
Artifact artifact;
Bucket bucket;
IBuildImage buildImage;
BuildSpec buildSpec;
PolicyStatement policyStatement;
Subnet subnet;
SubnetFilter subnetFilter;
Object value;
Vpc vpc;
SimpleSynthActionProps simpleSynthActionProps = SimpleSynthActionProps.builder()
.cloudAssemblyArtifact(artifact)
.sourceArtifact(artifact)
.synthCommand("synthCommand")
// the properties below are optional
.actionName("actionName")
.additionalArtifacts(List.of(AdditionalArtifact.builder()
.artifact(artifact)
.directory("directory")
.build()))
.buildCommand("buildCommand")
.buildCommands(List.of("buildCommands"))
.buildSpec(buildSpec)
.copyEnvironmentVariables(List.of("copyEnvironmentVariables"))
.environment(BuildEnvironment.builder()
.buildImage(buildImage)
.certificate(BuildEnvironmentCertificate.builder()
.bucket(bucket)
.objectKey("objectKey")
.build())
.computeType(ComputeType.SMALL)
.environmentVariables(Map.of(
"environmentVariablesKey", BuildEnvironmentVariable.builder()
.value(value)
// the properties below are optional
.type(BuildEnvironmentVariableType.PLAINTEXT)
.build()))
.privileged(false)
.build())
.environmentVariables(Map.of(
"environmentVariablesKey", BuildEnvironmentVariable.builder()
.value(value)
// the properties below are optional
.type(BuildEnvironmentVariableType.PLAINTEXT)
.build()))
.installCommand("installCommand")
.installCommands(List.of("installCommands"))
.projectName("projectName")
.rolePolicyStatements(List.of(policyStatement))
.subdirectory("subdirectory")
.subnetSelection(SubnetSelection.builder()
.availabilityZones(List.of("availabilityZones"))
.onePerAz(false)
.subnetFilters(List.of(subnetFilter))
.subnetGroupName("subnetGroupName")
.subnetName("subnetName")
.subnets(List.of(subnet))
.subnetType(SubnetType.ISOLATED)
.build())
.testCommands(List.of("testCommands"))
.vpc(vpc)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
SimpleSynthActionProps.Builder
Deprecated.
|
static class |
SimpleSynthActionProps.Jsii$Proxy
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static SimpleSynthActionProps.Builder |
builder()
Deprecated.
|
default String |
getBuildCommand()
Deprecated.
Use `buildCommands` instead
|
default List<String> |
getBuildCommands()
Deprecated.
|
default String |
getInstallCommand()
Deprecated.
Use `installCommands` instead
|
default List<String> |
getInstallCommands()
Deprecated.
|
String |
getSynthCommand()
Deprecated.
|
default List<String> |
getTestCommands()
Deprecated.
|
getActionName, getAdditionalArtifacts, getBuildSpec, getCloudAssemblyArtifact, getCopyEnvironmentVariables, getEnvironment, getEnvironmentVariables, getProjectName, getRolePolicyStatements, getSourceArtifact, getSubdirectory, getSubnetSelection, getVpc@Stability(value=Deprecated) @Deprecated @NotNull String getSynthCommand()
@Stability(value=Deprecated) @Deprecated @Nullable default String getBuildCommand()
If your programming language requires a compilation step, put the compilation command here.
Default: - No build required
@Stability(value=Deprecated) @Deprecated @Nullable default List<String> getBuildCommands()
If your programming language requires a compilation step, put the compilation command here.
Default: - No build required
@Stability(value=Deprecated) @Deprecated @Nullable default String getInstallCommand()
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
@Stability(value=Deprecated) @Deprecated @Nullable default List<String> getInstallCommands()
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
@Stability(value=Deprecated) @Deprecated @Nullable default List<String> getTestCommands()
These commands are run after the build commands but before the synth command.
Default: - No test commands
@Stability(value=Deprecated) @Deprecated static SimpleSynthActionProps.Builder builder()
builder in interface SimpleSynthOptionsSimpleSynthActionProps.Builder of SimpleSynthActionPropsCopyright © 2022. All rights reserved.