| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public AppProps.Builder appName(String appName)
AppProps.getAppName()appName - The name for the application.this@Stability(value=Experimental) public AppProps.Builder autoBranchCreation(AutoBranchCreation autoBranchCreation)
AppProps.getAutoBranchCreation()autoBranchCreation - The auto branch creation configuration.
Use this to automatically create
branches that match a certain pattern.this@Stability(value=Experimental) public AppProps.Builder autoBranchDeletion(Boolean autoBranchDeletion)
AppProps.getAutoBranchDeletion()autoBranchDeletion - Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.this@Stability(value=Experimental) public AppProps.Builder basicAuth(BasicAuth basicAuth)
AppProps.getBasicAuth()basicAuth - The Basic Auth configuration.
Use this to set password protection at an
app level to all your branches.this@Stability(value=Experimental) public AppProps.Builder buildSpec(BuildSpec buildSpec)
AppProps.getBuildSpec()buildSpec - BuildSpec for the application.
Alternatively, add a amplify.yml
file to the repository.this@Stability(value=Experimental) public AppProps.Builder customResponseHeaders(List<? extends CustomResponseHeader> customResponseHeaders)
AppProps.getCustomResponseHeaders()customResponseHeaders - The custom HTTP response headers for an Amplify app.this@Stability(value=Experimental) public AppProps.Builder customRules(List<? extends CustomRule> customRules)
AppProps.getCustomRules()customRules - Custom rewrite/redirect rules for the application.this@Stability(value=Experimental) public AppProps.Builder description(String description)
AppProps.getDescription()description - A description for the application.this@Stability(value=Experimental) public AppProps.Builder environmentVariables(Map<String,String> environmentVariables)
AppProps.getEnvironmentVariables()environmentVariables - Environment variables for the application.
All environment variables that you add are encrypted to prevent rogue
access so you can use them to store secret information.this@Stability(value=Experimental) public AppProps.Builder role(IRole role)
AppProps.getRole()role - The IAM service role to associate with the application.
The App
implements IGrantable.this@Stability(value=Experimental) public AppProps.Builder sourceCodeProvider(ISourceCodeProvider sourceCodeProvider)
AppProps.getSourceCodeProvider()sourceCodeProvider - The source code provider for this application.this@Stability(value=Experimental) public AppProps build()
build in interface software.amazon.jsii.Builder<AppProps>AppPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.