Class: Aws::Amplify::Types::AutoBranchCreationConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::Amplify::Types::AutoBranchCreationConfig
- Includes:
- Structure
- Defined in:
- 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
-
#basic_auth_credentials ⇒ String
The basic authorization credentials for the autocreated branch.
-
#build_spec ⇒ String
The build specification (build spec) for the autocreated branch.
-
#enable_auto_build ⇒ Boolean
Enables auto building for the autocreated branch.
-
#enable_basic_auth ⇒ Boolean
Enables basic authorization for the autocreated branch.
-
#enable_performance_mode ⇒ Boolean
Enables performance mode for the branch.
-
#enable_pull_request_preview ⇒ Boolean
Enables pull request previews for the autocreated branch.
-
#environment_variables ⇒ Hash<String,String>
The environment variables for the autocreated branch.
-
#framework ⇒ String
The framework for the autocreated branch.
-
#pull_request_environment_name ⇒ String
The Amplify environment name for the pull request.
-
#stage ⇒ String
Describes the current stage for the autocreated branch.
Instance Attribute Details
#basic_auth_credentials ⇒ String
The basic authorization credentials for the autocreated branch. You must base64-encode the authorization credentials and provide them in the format ‘user:password`.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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_spec ⇒ String
The build specification (build spec) for the autocreated branch.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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_build ⇒ Boolean
Enables auto building for the autocreated branch.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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_auth ⇒ Boolean
Enables basic authorization for the autocreated branch.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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_mode ⇒ Boolean
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.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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_preview ⇒ Boolean
Enables pull request previews for the autocreated branch.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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_variables ⇒ Hash<String,String>
The environment variables for the autocreated branch.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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 |
#framework ⇒ String
The framework for the autocreated branch.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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_name ⇒ String
The Amplify environment name for the pull request.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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 |
#stage ⇒ String
Describes the current stage for the autocreated branch.
251 252 253 254 255 256 257 258 259 260 261 262 263 264 |
# File '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 |