@Generated(value="jsii-pacmak/1.26.0 (build 7d76e02)", date="2021-03-25T11:29:20.059Z") @Stability(value=Experimental) public interface AppProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
AppProps.Builder
A builder for
AppProps |
static class |
AppProps.Jsii$Proxy
An implementation for
AppProps |
| Modifier and Type | Method and Description |
|---|---|
static AppProps.Builder |
builder() |
default String |
getAppName()
(experimental) The name for the application.
|
default AutoBranchCreation |
getAutoBranchCreation()
(experimental) The auto branch creation configuration.
|
default Boolean |
getAutoBranchDeletion()
(experimental) Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.
|
default BasicAuth |
getBasicAuth()
(experimental) The Basic Auth configuration.
|
default BuildSpec |
getBuildSpec()
(experimental) BuildSpec for the application.
|
default List<CustomRule> |
getCustomRules()
(experimental) Custom rewrite/redirect rules for the application.
|
default String |
getDescription()
(experimental) A description for the application.
|
default Map<String,String> |
getEnvironmentVariables()
(experimental) Environment variables for the application.
|
default IRole |
getRole()
(experimental) The IAM service role to associate with the application.
|
default ISourceCodeProvider |
getSourceCodeProvider()
(experimental) The source code provider for this application.
|
@Stability(value=Experimental) @Nullable default String getAppName()
Default: - a CDK generated name
@Stability(value=Experimental) @Nullable default AutoBranchCreation getAutoBranchCreation()
Use this to automatically create branches that match a certain pattern.
Default: - no auto branch creation
@Stability(value=Experimental) @Nullable default Boolean getAutoBranchDeletion()
Default: false
@Stability(value=Experimental) @Nullable default BasicAuth getBasicAuth()
Use this to set password protection at an app level to all your branches.
Default: - no password protection
@Stability(value=Experimental) @Nullable default BuildSpec getBuildSpec()
Alternatively, add a amplify.yml
file to the repository.
Default: - no build spec
https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html@Stability(value=Experimental) @Nullable default List<CustomRule> getCustomRules()
Default: - no custom rewrite/redirect rules
@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: - no environment variables
@Stability(value=Experimental) @Nullable default IRole getRole()
The App implements IGrantable.
Default: - a new role is created
@Stability(value=Experimental) @Nullable default ISourceCodeProvider getSourceCodeProvider()
Default: - not connected to a source code provider
@Stability(value=Experimental) static AppProps.Builder builder()
AppProps.Builder of AppPropsCopyright © 2021. All rights reserved.