Class: Aws::OpsWorks::Types::CreateAppRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::CreateAppRequest
- Defined in:
- gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#app_source ⇒ Types::Source
A
Source
object that specifies the app repository. -
#attributes ⇒ Hash<String,String>
One or more user-defined key/value pairs to be added to the stack attributes.
-
#data_sources ⇒ Array<Types::DataSource>
The app's data source.
-
#description ⇒ String
A description of the app.
-
#domains ⇒ Array<String>
The app virtual host settings, with multiple domains separated by commas.
-
#enable_ssl ⇒ Boolean
Whether to enable SSL for the app.
-
#environment ⇒ Array<Types::EnvironmentVariable>
An array of
EnvironmentVariable
objects that specify environment variables to be associated with the app. -
#name ⇒ String
The app name.
-
#shortname ⇒ String
The app's short name.
-
#ssl_configuration ⇒ Types::SslConfiguration
An
SslConfiguration
object with the SSL configuration. -
#stack_id ⇒ String
The stack ID.
-
#type ⇒ String
The app type.
Instance Attribute Details
#app_source ⇒ Types::Source
A Source
object that specifies the app repository.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#attributes ⇒ Hash<String,String>
One or more user-defined key/value pairs to be added to the stack attributes.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#data_sources ⇒ Array<Types::DataSource>
The app's data source.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of the app.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#domains ⇒ Array<String>
The app virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#enable_ssl ⇒ Boolean
Whether to enable SSL for the app.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#environment ⇒ Array<Types::EnvironmentVariable>
An array of EnvironmentVariable
objects that specify environment
variables to be associated with the app. After you deploy the app,
these variables are defined on the associated app server instance.
For more information, see Environment Variables.
There is no specific limit on the number of environment variables. However, the size of the associated data structure - which includes the variables' names, values, and protected flag values - cannot exceed 20 KB. This limit should accommodate most if not all use cases. Exceeding it will cause an exception with the message, "Environment: is too large (maximum is 20KB)."
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The app name.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#shortname ⇒ String
The app's short name.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#ssl_configuration ⇒ Types::SslConfiguration
An SslConfiguration
object with the SSL configuration.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#stack_id ⇒ String
The stack ID.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The app type. Each supported type is associated with a particular
layer. For example, PHP applications are associated with a PHP
layer. OpsWorks Stacks deploys an application to those instances
that are members of the corresponding layer. If your app isn't one
of the standard types, or you prefer to implement your own Deploy
recipes, specify other
.
997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 |
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 997 class CreateAppRequest < Struct.new( :stack_id, :shortname, :name, :description, :data_sources, :type, :app_source, :domains, :enable_ssl, :ssl_configuration, :attributes, :environment) SENSITIVE = [] include Aws::Structure end |