@Stability(value=Stable) public static final class CfnAppProps.Builder extends Object implements software.amazon.jsii.Builder<CfnAppProps>
CfnAppProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnAppProps.Builder name(String name)
CfnAppProps.getName()name - The name for an Amplify app. This parameter is required.
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern: (?s).+
this@Stability(value=Stable) public CfnAppProps.Builder accessToken(String accessToken)
CfnAppProps.getAccessToken()accessToken - Personal Access token for 3rd party source control system for an Amplify app, used to create webhook and read-only deploy key.
Token is not stored.
Length Constraints: Minimum length of 1. Maximum length of 255.
this@Stability(value=Stable) public CfnAppProps.Builder autoBranchCreationConfig(CfnApp.AutoBranchCreationConfigProperty autoBranchCreationConfig)
CfnAppProps.getAutoBranchCreationConfig()autoBranchCreationConfig - Sets the configuration for your automatic branch creation.this@Stability(value=Stable) public CfnAppProps.Builder autoBranchCreationConfig(IResolvable autoBranchCreationConfig)
CfnAppProps.getAutoBranchCreationConfig()autoBranchCreationConfig - Sets the configuration for your automatic branch creation.this@Stability(value=Stable) public CfnAppProps.Builder basicAuthConfig(CfnApp.BasicAuthConfigProperty basicAuthConfig)
CfnAppProps.getBasicAuthConfig()basicAuthConfig - The credentials for basic authorization for an Amplify app.this@Stability(value=Stable) public CfnAppProps.Builder basicAuthConfig(IResolvable basicAuthConfig)
CfnAppProps.getBasicAuthConfig()basicAuthConfig - The credentials for basic authorization for an Amplify app.this@Stability(value=Stable) public CfnAppProps.Builder buildSpec(String buildSpec)
CfnAppProps.getBuildSpec()buildSpec - The build specification (build spec) for an Amplify app.
Length Constraints: Minimum length of 1. Maximum length of 25000.
Pattern: (?s).+
this@Stability(value=Stable) public CfnAppProps.Builder customHeaders(String customHeaders)
CfnAppProps.getCustomHeaders()customHeaders - The custom HTTP headers for an Amplify app.
Length Constraints: Minimum length of 0. Maximum length of 25000.
Pattern: (?s).*
this@Stability(value=Stable) public CfnAppProps.Builder customRules(IResolvable customRules)
CfnAppProps.getCustomRules()customRules - The custom rewrite and redirect rules for an Amplify app.this@Stability(value=Stable) public CfnAppProps.Builder customRules(List<? extends Object> customRules)
CfnAppProps.getCustomRules()customRules - The custom rewrite and redirect rules for an Amplify app.this@Stability(value=Stable) public CfnAppProps.Builder description(String description)
CfnAppProps.getDescription()description - The description for an Amplify app.
Length Constraints: Maximum length of 1000.
Pattern: (?s).*
this@Stability(value=Stable) public CfnAppProps.Builder enableBranchAutoDeletion(Boolean enableBranchAutoDeletion)
CfnAppProps.getEnableBranchAutoDeletion()enableBranchAutoDeletion - Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.this@Stability(value=Stable) public CfnAppProps.Builder enableBranchAutoDeletion(IResolvable enableBranchAutoDeletion)
CfnAppProps.getEnableBranchAutoDeletion()enableBranchAutoDeletion - Automatically disconnect a branch in the Amplify Console when you delete a branch from your Git repository.this@Stability(value=Stable) public CfnAppProps.Builder environmentVariables(IResolvable environmentVariables)
CfnAppProps.getEnvironmentVariables()environmentVariables - The environment variables map for an Amplify app.this@Stability(value=Stable) public CfnAppProps.Builder environmentVariables(List<? extends Object> environmentVariables)
CfnAppProps.getEnvironmentVariables()environmentVariables - The environment variables map for an Amplify app.this@Stability(value=Stable) public CfnAppProps.Builder iamServiceRole(String iamServiceRole)
CfnAppProps.getIamServiceRole()iamServiceRole - The AWS Identity and Access Management (IAM) service role for the Amazon Resource Name (ARN) of the Amplify app.
Length Constraints: Minimum length of 0. Maximum length of 1000.
Pattern: (?s).*
this@Stability(value=Stable) public CfnAppProps.Builder oauthToken(String oauthToken)
CfnAppProps.getOauthToken()oauthToken - The OAuth token for a third-party source control system for an Amplify app.
The OAuth token is used to create a webhook and a read-only deploy key. The OAuth token is not stored.
Length Constraints: Maximum length of 1000.
Pattern: (?s).*
this@Stability(value=Stable) public CfnAppProps.Builder repository(String repository)
CfnAppProps.getRepository()repository - The repository for an Amplify app.
Pattern: (?s).*this@Stability(value=Stable) public CfnAppProps.Builder tags(List<? extends CfnTag> tags)
CfnAppProps.getTags()tags - The tag for an Amplify app.this@Stability(value=Stable) public CfnAppProps build()
build in interface software.amazon.jsii.Builder<CfnAppProps>CfnAppPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.