@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:20.061Z") @Stability(value=Experimental) public interface BranchOptions extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
BranchOptions.Builder
A builder for
BranchOptions |
static class |
BranchOptions.Jsii$Proxy
An implementation for
BranchOptions |
| Modifier and Type | Method and Description |
|---|---|
static BranchOptions.Builder |
builder() |
default Boolean |
getAutoBuild()
(experimental) Whether to enable auto building for the branch.
|
default BasicAuth |
getBasicAuth()
(experimental) The Basic Auth configuration.
|
default String |
getBranchName()
(experimental) The name of the branch.
|
default BuildSpec |
getBuildSpec()
(experimental) BuildSpec for the branch.
|
default String |
getDescription()
(experimental) A description for the branch.
|
default Map<String,String> |
getEnvironmentVariables()
(experimental) Environment variables for the branch.
|
default String |
getPullRequestEnvironmentName()
(experimental) The dedicated backend environment for the pull request previews.
|
default Boolean |
getPullRequestPreview()
(experimental) Whether to enable pull request preview for the branch.
|
default String |
getStage()
(experimental) Stage for the branch.
|
@Stability(value=Experimental) @Nullable default Boolean getAutoBuild()
Default: true
@Stability(value=Experimental) @Nullable default BasicAuth getBasicAuth()
Use this to set password protection for the branch
Default: - no password protection
@Stability(value=Experimental) @Nullable default String getBranchName()
Default: - the construct's id
@Stability(value=Experimental) @Nullable default BuildSpec getBuildSpec()
Default: - no build spec
https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html@Stability(value=Experimental) @Nullable default String getDescription()
Default: - no description
@Stability(value=Experimental) @Nullable default Map<String,String> getEnvironmentVariables()
All environment variables that you add are encrypted to prevent rogue access so you can use them to store secret information.
Default: - application environment variables
@Stability(value=Experimental) @Nullable default String getPullRequestEnvironmentName()
Default: - automatically provision a temporary backend
@Stability(value=Experimental) @Nullable default Boolean getPullRequestPreview()
Default: true
@Stability(value=Experimental) @Nullable default String getStage()
Default: - no stage
@Stability(value=Experimental) static BranchOptions.Builder builder()
BranchOptions.Builder of BranchOptionsCopyright © 2021. All rights reserved.