@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)", date="2022-08-09T19:16:39.892Z") public interface BranchProps extends BranchOptions
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.amplify.*; import software.amazon.awscdk.services.codebuild.*; import software.amazon.awscdk.services.s3.assets.*; App app; Asset asset; BasicAuth basicAuth; BuildSpec buildSpec; BranchProps branchProps = BranchProps.builder() .app(app) // the properties below are optional .asset(asset) .autoBuild(false) .basicAuth(basicAuth) .branchName("branchName") .buildSpec(buildSpec) .description("description") .environmentVariables(Map.of( "environmentVariablesKey", "environmentVariables")) .performanceMode(false) .pullRequestEnvironmentName("pullRequestEnvironmentName") .pullRequestPreview(false) .stage("stage") .build();
Modifier and Type | Interface and Description |
---|---|
static class |
BranchProps.Builder
A builder for
BranchProps |
static class |
BranchProps.Jsii$Proxy
An implementation for
BranchProps |
Modifier and Type | Method and Description |
---|---|
static BranchProps.Builder |
builder() |
IApp |
getApp()
(experimental) The application within which the branch must be created.
|
getAsset, getAutoBuild, getBasicAuth, getBranchName, getBuildSpec, getDescription, getEnvironmentVariables, getPerformanceMode, getPullRequestEnvironmentName, getPullRequestPreview, getStage
IApp getApp()
static BranchProps.Builder builder()
builder
in interface BranchOptions
BranchProps.Builder
of BranchProps