You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::OpsWorks::Types::UpdateAppRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpsWorks::Types::UpdateAppRequest
- Defined in:
- (unknown)
Overview
When passing UpdateAppRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
app_id: "String", # required
name: "String",
description: "String",
data_sources: [
{
type: "String",
arn: "String",
database_name: "String",
},
],
type: "aws-flow-ruby", # accepts aws-flow-ruby, java, rails, php, nodejs, static, other
app_source: {
type: "git", # accepts git, svn, archive, s3
url: "String",
username: "String",
password: "String",
ssh_key: "String",
revision: "String",
},
domains: ["String"],
enable_ssl: false,
ssl_configuration: {
certificate: "String", # required
private_key: "String", # required
chain: "String",
},
attributes: {
"DocumentRoot" => "String",
},
environment: [
{
key: "String", # required
value: "String", # required
secure: false,
},
],
}
Instance Attribute Summary collapse
-
#app_id ⇒ String
The app ID.
-
#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 sources.
-
#description ⇒ String
A description of the app.
-
#domains ⇒ Array<String>
The app\'s virtual host settings, with multiple domains separated by commas.
-
#enable_ssl ⇒ Boolean
Whether SSL is enabled 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.
-
#ssl_configuration ⇒ Types::SslConfiguration
An
SslConfiguration
object with the SSL configuration. -
#type ⇒ String
The app type.
Instance Attribute Details
#app_id ⇒ String
The app ID.
#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 sources.
#description ⇒ String
A description of the app.
#domains ⇒ Array<String>
The app\'s virtual host settings, with multiple domains separated by
commas. For example: 'www.example.com, example.com'
#enable_ssl ⇒ Boolean
Whether SSL is enabled for the app.
#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 instances.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 20 KB).\"
#name ⇒ String
The app name.
#ssl_configuration ⇒ Types::SslConfiguration
An SslConfiguration
object with the SSL configuration.
#type ⇒ String
The app type.
Possible values:
- aws-flow-ruby
- java
- rails
- php
- nodejs
- static
- other