@Stability(value=Experimental) @Internal public static final class BranchProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BranchProps
BranchPropssoftware.amazon.jsii.JsiiObject.InitializationModeBranchProps.Builder, BranchProps.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Jsii$Proxy(BranchProps.Builder builder)
Constructor that initializes the object based on literal property values passed by the
BranchProps.Builder. |
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(Object o) |
IApp |
getApp()
(experimental) The application within which the branch must be created.
|
Asset |
getAsset()
(experimental) Asset for deployment.
|
Boolean |
getAutoBuild()
(experimental) Whether to enable auto building for the branch.
|
BasicAuth |
getBasicAuth()
(experimental) The Basic Auth configuration.
|
String |
getBranchName()
(experimental) The name of the branch.
|
BuildSpec |
getBuildSpec()
(experimental) BuildSpec for the branch.
|
String |
getDescription()
(experimental) A description for the branch.
|
Map<String,String> |
getEnvironmentVariables()
(experimental) Environment variables for the branch.
|
String |
getPullRequestEnvironmentName()
(experimental) The dedicated backend environment for the pull request previews.
|
Boolean |
getPullRequestPreview()
(experimental) Whether to enable pull request preview for the branch.
|
String |
getStage()
(experimental) Stage for the branch.
|
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(BranchProps.Builder builder)
BranchProps.Builder.public final IApp getApp()
BranchPropsgetApp in interface BranchPropspublic final Asset getAsset()
BranchOptionsThe Amplify app must not have a sourceCodeProvider configured as this resource uses Amplify's startDeployment API to initiate and deploy a S3 asset onto the App.
Default: - no asset
getAsset in interface BranchOptionspublic final Boolean getAutoBuild()
BranchOptionsDefault: true
getAutoBuild in interface BranchOptionspublic final BasicAuth getBasicAuth()
BranchOptionsUse this to set password protection for the branch
Default: - no password protection
getBasicAuth in interface BranchOptionspublic final String getBranchName()
BranchOptionsDefault: - the construct's id
getBranchName in interface BranchOptionspublic final BuildSpec getBuildSpec()
BranchOptionsDefault: - no build spec
getBuildSpec in interface BranchOptionshttps://docs.aws.amazon.com/amplify/latest/userguide/build-settings.htmlpublic final String getDescription()
BranchOptionsDefault: - no description
getDescription in interface BranchOptionspublic final Map<String,String> getEnvironmentVariables()
BranchOptionsAll environment variables that you add are encrypted to prevent rogue access so you can use them to store secret information.
Default: - application environment variables
getEnvironmentVariables in interface BranchOptionspublic final String getPullRequestEnvironmentName()
BranchOptionsDefault: - automatically provision a temporary backend
getPullRequestEnvironmentName in interface BranchOptionspublic final Boolean getPullRequestPreview()
BranchOptionsDefault: true
getPullRequestPreview in interface BranchOptionspublic final String getStage()
BranchOptionsDefault: - no stage
getStage in interface BranchOptions@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
$jsii$toJson in interface software.amazon.jsii.JsiiSerializableCopyright © 2022. All rights reserved.