public static final class BranchProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements BranchProps
BranchProps
BranchProps.Builder, BranchProps.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.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
IApp |
getApp()
(experimental) The application within which the branch must be created.
|
Asset |
getAsset()
(experimental) Asset for deployment.
|
java.lang.Boolean |
getAutoBuild()
(experimental) Whether to enable auto building for the branch.
|
BasicAuth |
getBasicAuth()
(experimental) The Basic Auth configuration.
|
java.lang.String |
getBranchName()
(experimental) The name of the branch.
|
BuildSpec |
getBuildSpec()
(experimental) BuildSpec for the branch.
|
java.lang.String |
getDescription()
(experimental) A description for the branch.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnvironmentVariables()
(experimental) Environment variables for the branch.
|
java.lang.Boolean |
getPerformanceMode()
(experimental) Enables performance mode for the branch.
|
java.lang.String |
getPullRequestEnvironmentName()
(experimental) The dedicated backend environment for the pull request previews.
|
java.lang.Boolean |
getPullRequestPreview()
(experimental) Whether to enable pull request preview for the branch.
|
java.lang.String |
getStage()
(experimental) Stage for the branch.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final IApp getApp()
BranchProps
getApp
in interface BranchProps
public final Asset getAsset()
BranchOptions
The 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 BranchOptions
public final java.lang.Boolean getAutoBuild()
BranchOptions
Default: true
getAutoBuild
in interface BranchOptions
public final BasicAuth getBasicAuth()
BranchOptions
Use this to set password protection for the branch
Default: - no password protection
getBasicAuth
in interface BranchOptions
public final java.lang.String getBranchName()
BranchOptions
Default: - the construct's id
getBranchName
in interface BranchOptions
public final BuildSpec getBuildSpec()
BranchOptions
Default: - no build spec
getBuildSpec
in interface BranchOptions
public final java.lang.String getDescription()
BranchOptions
Default: - no description
getDescription
in interface BranchOptions
public final java.util.Map<java.lang.String,java.lang.String> getEnvironmentVariables()
BranchOptions
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
getEnvironmentVariables
in interface BranchOptions
public final java.lang.Boolean getPerformanceMode()
BranchOptions
Performance mode optimizes for faster hosting performance by keeping content cached at the edge for a longer interval. When performance mode is enabled, hosting configuration or code changes can take up to 10 minutes to roll out.
Default: false
getPerformanceMode
in interface BranchOptions
public final java.lang.String getPullRequestEnvironmentName()
BranchOptions
Default: - automatically provision a temporary backend
getPullRequestEnvironmentName
in interface BranchOptions
public final java.lang.Boolean getPullRequestPreview()
BranchOptions
Default: true
getPullRequestPreview
in interface BranchOptions
public final java.lang.String getStage()
BranchOptions
Default: - no stage
getStage
in interface BranchOptions
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()