AppAutoBranchCreationConfigArgs

data class AppAutoBranchCreationConfigArgs(val autoBranchCreationPatterns: Output<List<String>>? = null, val basicAuthConfig: Output<AppBasicAuthConfigArgs>? = null, val buildSpec: Output<String>? = null, val enableAutoBranchCreation: Output<Boolean>? = null, val enableAutoBuild: Output<Boolean>? = null, val enablePerformanceMode: Output<Boolean>? = null, val enablePullRequestPreview: Output<Boolean>? = null, val environmentVariables: Output<List<AppEnvironmentVariableArgs>>? = null, val framework: Output<String>? = null, val pullRequestEnvironmentName: Output<String>? = null, val stage: Output<AppAutoBranchCreationConfigStage>? = null) : ConvertibleToJava<AppAutoBranchCreationConfigArgs>

Constructors

Link copied to clipboard
constructor(autoBranchCreationPatterns: Output<List<String>>? = null, basicAuthConfig: Output<AppBasicAuthConfigArgs>? = null, buildSpec: Output<String>? = null, enableAutoBranchCreation: Output<Boolean>? = null, enableAutoBuild: Output<Boolean>? = null, enablePerformanceMode: Output<Boolean>? = null, enablePullRequestPreview: Output<Boolean>? = null, environmentVariables: Output<List<AppEnvironmentVariableArgs>>? = null, framework: Output<String>? = null, pullRequestEnvironmentName: Output<String>? = null, stage: Output<AppAutoBranchCreationConfigStage>? = null)

Properties

Link copied to clipboard
val autoBranchCreationPatterns: Output<List<String>>? = null

Automated branch creation glob patterns for the Amplify app.

Link copied to clipboard

Sets password protection for your auto created branch.

Link copied to clipboard
val buildSpec: Output<String>? = null

The build specification (build spec) for the autocreated branch.

Link copied to clipboard
val enableAutoBranchCreation: Output<Boolean>? = null

Enables automated branch creation for the Amplify app.

Link copied to clipboard
val enableAutoBuild: Output<Boolean>? = null

Enables auto building for the auto created branch.

Link copied to clipboard
val enablePerformanceMode: Output<Boolean>? = null

Enables performance mode for the branch. 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.

Link copied to clipboard
val enablePullRequestPreview: Output<Boolean>? = null

Sets whether pull request previews are enabled for each branch that Amplify Hosting automatically creates for your app. Amplify creates previews by deploying your app to a unique URL whenever a pull request is opened for the branch. Development and QA teams can use this preview to test the pull request before it's merged into a production or integration branch. To provide backend support for your preview, Amplify Hosting automatically provisions a temporary backend environment that it deletes when the pull request is closed. If you want to specify a dedicated backend environment for your previews, use the PullRequestEnvironmentName property. For more information, see Web Previews in the AWS Amplify Hosting User Guide .

Link copied to clipboard

The environment variables for the autocreated branch.

Link copied to clipboard
val framework: Output<String>? = null

The framework for the autocreated branch.

Link copied to clipboard
val pullRequestEnvironmentName: Output<String>? = null

If pull request previews are enabled, you can use this property to specify a dedicated backend environment for your previews. For example, you could specify an environment named prod , test , or dev that you initialized with the Amplify CLI. To enable pull request previews, set the EnablePullRequestPreview property to true . If you don't specify an environment, Amplify Hosting provides backend support for each preview by automatically provisioning a temporary backend environment. Amplify deletes this environment when the pull request is closed. For more information about creating backend environments, see Feature Branch Deployments and Team Workflows in the AWS Amplify Hosting User Guide .

Link copied to clipboard

Stage for the auto created branch.

Functions

Link copied to clipboard
open override fun toJava(): AppAutoBranchCreationConfigArgs