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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb

Overview

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,
  build_spec: "BuildSpec",
  enable_pull_request_preview: false,
  pull_request_environment_name: "PullRequestEnvironmentName",
}

Describes the automated branch creation configuration.

Constant Summary collapse

SENSITIVE =
[:basic_auth_credentials]

Instance Attribute Summary collapse

Instance Attribute Details

#basic_auth_credentialsString

The basic authorization credentials for the autocreated branch.

Returns:

  • (String)


216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 216

class AutoBranchCreationConfig < Struct.new(
  :stage,
  :framework,
  :enable_auto_build,
  :environment_variables,
  :basic_auth_credentials,
  :enable_basic_auth,
  :build_spec,
  :enable_pull_request_preview,
  :pull_request_environment_name)
  SENSITIVE = [:basic_auth_credentials]
  include Aws::Structure
end

#build_specString

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

Returns:

  • (String)


216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 216

class AutoBranchCreationConfig < Struct.new(
  :stage,
  :framework,
  :enable_auto_build,
  :environment_variables,
  :basic_auth_credentials,
  :enable_basic_auth,
  :build_spec,
  :enable_pull_request_preview,
  :pull_request_environment_name)
  SENSITIVE = [:basic_auth_credentials]
  include Aws::Structure
end

#enable_auto_buildBoolean

Enables auto building for the autocreated branch.

Returns:

  • (Boolean)


216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 216

class AutoBranchCreationConfig < Struct.new(
  :stage,
  :framework,
  :enable_auto_build,
  :environment_variables,
  :basic_auth_credentials,
  :enable_basic_auth,
  :build_spec,
  :enable_pull_request_preview,
  :pull_request_environment_name)
  SENSITIVE = [:basic_auth_credentials]
  include Aws::Structure
end

#enable_basic_authBoolean

Enables basic authorization for the autocreated branch.

Returns:

  • (Boolean)


216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 216

class AutoBranchCreationConfig < Struct.new(
  :stage,
  :framework,
  :enable_auto_build,
  :environment_variables,
  :basic_auth_credentials,
  :enable_basic_auth,
  :build_spec,
  :enable_pull_request_preview,
  :pull_request_environment_name)
  SENSITIVE = [:basic_auth_credentials]
  include Aws::Structure
end

#enable_pull_request_previewBoolean

Enables pull request preview for the autocreated branch.

Returns:

  • (Boolean)


216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 216

class AutoBranchCreationConfig < Struct.new(
  :stage,
  :framework,
  :enable_auto_build,
  :environment_variables,
  :basic_auth_credentials,
  :enable_basic_auth,
  :build_spec,
  :enable_pull_request_preview,
  :pull_request_environment_name)
  SENSITIVE = [:basic_auth_credentials]
  include Aws::Structure
end

#environment_variablesHash<String,String>

The environment variables for the autocreated branch.

Returns:

  • (Hash<String,String>)


216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 216

class AutoBranchCreationConfig < Struct.new(
  :stage,
  :framework,
  :enable_auto_build,
  :environment_variables,
  :basic_auth_credentials,
  :enable_basic_auth,
  :build_spec,
  :enable_pull_request_preview,
  :pull_request_environment_name)
  SENSITIVE = [:basic_auth_credentials]
  include Aws::Structure
end

#frameworkString

The framework for the autocreated branch.

Returns:

  • (String)


216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 216

class AutoBranchCreationConfig < Struct.new(
  :stage,
  :framework,
  :enable_auto_build,
  :environment_variables,
  :basic_auth_credentials,
  :enable_basic_auth,
  :build_spec,
  :enable_pull_request_preview,
  :pull_request_environment_name)
  SENSITIVE = [:basic_auth_credentials]
  include Aws::Structure
end

#pull_request_environment_nameString

The Amplify environment name for the pull request.

Returns:

  • (String)


216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 216

class AutoBranchCreationConfig < Struct.new(
  :stage,
  :framework,
  :enable_auto_build,
  :environment_variables,
  :basic_auth_credentials,
  :enable_basic_auth,
  :build_spec,
  :enable_pull_request_preview,
  :pull_request_environment_name)
  SENSITIVE = [:basic_auth_credentials]
  include Aws::Structure
end

#stageString

Describes the current stage for the autocreated branch.

Returns:

  • (String)


216
217
218
219
220
221
222
223
224
225
226
227
228
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 216

class AutoBranchCreationConfig < Struct.new(
  :stage,
  :framework,
  :enable_auto_build,
  :environment_variables,
  :basic_auth_credentials,
  :enable_basic_auth,
  :build_spec,
  :enable_pull_request_preview,
  :pull_request_environment_name)
  SENSITIVE = [:basic_auth_credentials]
  include Aws::Structure
end