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

Class: Aws::Amplify::Types::UpdateBranchRequest

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

Overview

Note:

When passing UpdateBranchRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  app_id: "AppId", # required
  branch_name: "BranchName", # required
  description: "Description",
  framework: "Framework",
  stage: "PRODUCTION", # accepts PRODUCTION, BETA, DEVELOPMENT, EXPERIMENTAL
  enable_notification: false,
  enable_auto_build: false,
  environment_variables: {
    "EnvKey" => "EnvValue",
  },
  basic_auth_credentials: "BasicAuthCredentials",
  enable_basic_auth: false,
  build_spec: "BuildSpec",
  ttl: "TTL",
  display_name: "DisplayName",
}

Request structure for update branch request.

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

Unique Id for an Amplify App.

Returns:

  • (String)

    Unique Id for an Amplify App.

#basic_auth_credentialsString

Basic Authorization credentials for the branch.

Returns:

  • (String)

    Basic Authorization credentials for the branch.

#branch_nameString

Name for the branch.

Returns:

  • (String)

    Name for the branch.

#build_specString

BuildSpec for the branch.

Returns:

  • (String)

    BuildSpec for the branch.

#descriptionString

Description for the branch.

Returns:

  • (String)

    Description for the branch.

#display_nameString

Display name for a branch, will use as the default domain prefix.

Returns:

  • (String)

    Display name for a branch, will use as the default domain prefix.

#enable_auto_buildBoolean

Enables auto building for the branch.

Returns:

  • (Boolean)

    Enables auto building for the branch.

#enable_basic_authBoolean

Enables Basic Auth for the branch.

Returns:

  • (Boolean)

    Enables Basic Auth for the branch.

#enable_notificationBoolean

Enables notifications for the branch.

Returns:

  • (Boolean)

    Enables notifications for the branch.

#environment_variablesHash<String,String>

Environment Variables for the branch.

Returns:

  • (Hash<String,String>)

    Environment Variables for the branch.

#frameworkString

Framework for the branch.

Returns:

  • (String)

    Framework for the branch.

#stageString

Stage for the branch.

Possible values:

  • PRODUCTION
  • BETA
  • DEVELOPMENT
  • EXPERIMENTAL

Returns:

  • (String)

    Stage for the branch.

#ttlString

The content TTL for the website in seconds.

Returns:

  • (String)

    The content TTL for the website in seconds.