class Aws::Amplify::Types::AutoBranchCreationConfig

Describes the automated branch creation configuration.

@note When making an API call, you may pass AutoBranchCreationConfig

data as a hash:

    {
      stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL, PULL_REQUEST
      framework: "Framework",
      enable_auto_build: false,
      environment_variables: {
        "EnvKey" => "EnvValue",
      },
      basic_auth_credentials: "BasicAuthCredentials",
      enable_basic_auth: false,
      enable_performance_mode: false,
      build_spec: "BuildSpec",
      enable_pull_request_preview: false,
      pull_request_environment_name: "PullRequestEnvironmentName",
    }

@!attribute [rw] stage

Describes the current stage for the autocreated branch.
@return [String]

@!attribute [rw] framework

The framework for the autocreated branch.
@return [String]

@!attribute [rw] enable_auto_build

Enables auto building for the autocreated branch.
@return [Boolean]

@!attribute [rw] environment_variables

The environment variables for the autocreated branch.
@return [Hash<String,String>]

@!attribute [rw] basic_auth_credentials

The basic authorization credentials for the autocreated branch.
@return [String]

@!attribute [rw] enable_basic_auth

Enables basic authorization for the autocreated branch.
@return [Boolean]

@!attribute [rw] enable_performance_mode

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.
@return [Boolean]

@!attribute [rw] build_spec

The build specification (build spec) for the autocreated branch.
@return [String]

@!attribute [rw] enable_pull_request_preview

Enables pull request previews for the autocreated branch.
@return [Boolean]

@!attribute [rw] pull_request_environment_name

The Amplify environment name for the pull request.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/amplify-2017-07-25/AutoBranchCreationConfig AWS API Documentation

Constants

SENSITIVE