You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Amplify::Types::AutoBranchCreationConfig

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AutoBranchCreationConfig as input to an Aws::Client method, you can use a vanilla 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,
  build_spec: "BuildSpec",
  enable_pull_request_preview: false,
}

Structure with auto branch creation config.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#basic_auth_credentialsString

Basic Authorization credentials for the auto created branch.

Returns:

  • (String)

    Basic Authorization credentials for the auto created branch.

#build_specString

BuildSpec for the auto created branch.

Returns:

  • (String)

    BuildSpec for the auto created branch.

#enable_auto_buildBoolean

Enables auto building for the auto created branch.

Returns:

  • (Boolean)

    Enables auto building for the auto created branch.

#enable_basic_authBoolean

Enables Basic Auth for the auto created branch.

Returns:

  • (Boolean)

    Enables Basic Auth for the auto created branch.

#enable_pull_request_previewBoolean

Enables Pull Request Preview for auto created branch.

Returns:

  • (Boolean)

    Enables Pull Request Preview for auto created branch.

#environment_variablesHash<String,String>

Environment Variables for the auto created branch.

Returns:

  • (Hash<String,String>)

    Environment Variables for the auto created branch.

#frameworkString

Framework for the auto created branch.

Returns:

  • (String)

    Framework for the auto created branch.

#stageString

Stage for the auto created branch.

Possible values:

  • PRODUCTION
  • BETA
  • DEVELOPMENT
  • EXPERIMENTAL
  • PULL_REQUEST

Returns:

  • (String)

    Stage for the auto created branch.