AppProps.Builder, AppProps.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) |
java.lang.String |
getAppName()
(experimental) The name for the application.
|
AutoBranchCreation |
getAutoBranchCreation()
(experimental) The auto branch creation configuration.
|
java.lang.Boolean |
getAutoBranchDeletion()
(experimental) Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.
|
BasicAuth |
getBasicAuth()
(experimental) The Basic Auth configuration.
|
BuildSpec |
getBuildSpec()
(experimental) BuildSpec for the application.
|
java.util.List<CustomResponseHeader> |
getCustomResponseHeaders()
(experimental) The custom HTTP response headers for an Amplify app.
|
java.util.List<CustomRule> |
getCustomRules()
(experimental) Custom rewrite/redirect rules for the application.
|
java.lang.String |
getDescription()
(experimental) A description for the application.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnvironmentVariables()
(experimental) Environment variables for the application.
|
IRole |
getRole()
(experimental) The IAM service role to associate with the application.
|
ISourceCodeProvider |
getSourceCodeProvider()
(experimental) The source code provider for this application.
|
int |
hashCode() |
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getAppName()
AppProps
Default: - a CDK generated name
getAppName
in interface AppProps
public final AutoBranchCreation getAutoBranchCreation()
AppProps
Use this to automatically create branches that match a certain pattern.
Default: - no auto branch creation
getAutoBranchCreation
in interface AppProps
public final java.lang.Boolean getAutoBranchDeletion()
AppProps
Default: false
getAutoBranchDeletion
in interface AppProps
public final BasicAuth getBasicAuth()
AppProps
Use this to set password protection at an app level to all your branches.
Default: - no password protection
getBasicAuth
in interface AppProps
public final BuildSpec getBuildSpec()
AppProps
Alternatively, add a amplify.yml
file to the repository.
Default: - no build spec
getBuildSpec
in interface AppProps
public final java.util.List<CustomResponseHeader> getCustomResponseHeaders()
AppProps
Default: - no custom response headers
getCustomResponseHeaders
in interface AppProps
public final java.util.List<CustomRule> getCustomRules()
AppProps
Default: - no custom rewrite/redirect rules
getCustomRules
in interface AppProps
public final java.lang.String getDescription()
AppProps
Default: - no description
getDescription
in interface AppProps
public final java.util.Map<java.lang.String,java.lang.String> getEnvironmentVariables()
AppProps
All environment variables that you add are encrypted to prevent rogue access so you can use them to store secret information.
Default: - no environment variables
getEnvironmentVariables
in interface AppProps
public final IRole getRole()
AppProps
The App implements IGrantable.
Default: - a new role is created
public final ISourceCodeProvider getSourceCodeProvider()
AppProps
Default: - not connected to a source code provider
getSourceCodeProvider
in interface AppProps
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()