Paws::OpsWorks::CreateApp - Arguments for method CreateApp on Paws::OpsWorks
This class represents the parameters used for calling the method CreateApp on the AWS OpsWorks service. Use the attributes of this class as arguments to method CreateApp.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateApp.
my $opsworks = Paws->service('OpsWorks'); my $CreateAppResult = $opsworks->CreateApp( Name => 'MyString', StackId => 'MyString', Type => 'aws-flow-ruby', AppSource => { Password => 'MyString', Revision => 'MyString', SshKey => 'MyString', Type => 'git', # values: git, svn, archive, s3; OPTIONAL Url => 'MyString', Username => 'MyString', }, # OPTIONAL Attributes => { 'DocumentRoot' => 'MyString' , # key: values: DocumentRoot, RailsEnv, AutoBundleOnDeploy, AwsFlowRubySettings }, # OPTIONAL DataSources => [ { Arn => 'MyString', DatabaseName => 'MyString', Type => 'MyString', }, ... ], # OPTIONAL Description => 'MyString', # OPTIONAL Domains => [ 'MyString', ... ], # OPTIONAL EnableSsl => 1, # OPTIONAL Environment => [ { Key => 'MyString', Value => 'MyString', Secure => 1, }, ... ], # OPTIONAL Shortname => 'MyString', # OPTIONAL SslConfiguration => { Certificate => 'MyString', PrivateKey => 'MyString', Chain => 'MyString', }, # OPTIONAL ); # Results: my $AppId = $CreateAppResult->AppId; # Returns a L<Paws::OpsWorks::CreateAppResult> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/opsworks/CreateApp
A Source object that specifies the app repository.
Source
One or more user-defined key/value pairs to be added to the stack attributes.
The app's data source.
A description of the app.
The app virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'
'www.example.com, example.com'
Whether to enable SSL for the app.
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 (https://docs.aws.amazon.com/opsworks/latest/userguide/workingapps-creating.html#workingapps-creating-environment).
EnvironmentVariable
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)."
If you have specified one or more environment variables, you cannot modify the stack's Chef version.
The app name.
The app's short name.
An SslConfiguration object with the SSL configuration.
SslConfiguration
The stack ID.
The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS 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.
other
Valid values are: "aws-flow-ruby", "java", "rails", "php", "nodejs", "static", "other"
"aws-flow-ruby"
"java"
"rails"
"php"
"nodejs"
"static"
"other"
This class forms part of Paws, documenting arguments for method CreateApp in Paws::OpsWorks
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.