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

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

Overview

Describes the automated branch creation configuration.

Constant Summary collapse

SENSITIVE =
[:basic_auth_credentials, :build_spec]

Instance Attribute Summary collapse

Instance Attribute Details

#basic_auth_credentialsString

The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format user:password.

Returns:

  • (String)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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

#build_specString

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

Returns:

  • (String)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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

#enable_auto_buildBoolean

Enables auto building for the autocreated branch.

Returns:

  • (Boolean)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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

#enable_basic_authBoolean

Enables basic authorization for the autocreated branch.

Returns:

  • (Boolean)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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

#enable_performance_modeBoolean

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.

Returns:

  • (Boolean)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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

#enable_pull_request_previewBoolean

Enables pull request previews for the autocreated branch.

Returns:

  • (Boolean)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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

#environment_variablesHash<String,String>

The environment variables for the autocreated branch.

Returns:

  • (Hash<String,String>)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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

#frameworkString

The framework for the autocreated branch.

Returns:

  • (String)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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

#pull_request_environment_nameString

The Amplify environment name for the pull request.

Returns:

  • (String)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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

#stageString

Describes the current stage for the autocreated branch.

Returns:

  • (String)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 251

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