AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 4.5
 
Container for the parameters to the CreateApp operation. Creates an app for a specified stack. For more information, see Creating Apps.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.OpsWorks.AmazonOpsWorksRequest
      Amazon.OpsWorks.Model.CreateAppRequest

Namespace: Amazon.OpsWorks.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class CreateAppRequest : AmazonOpsWorksRequest
         IRequestEvents

The CreateAppRequest type exposes the following members

Constructors

NameDescription
Public Method CreateAppRequest()

Properties

NameTypeDescription
Public Property AppSource Amazon.OpsWorks.Model.Source Gets and sets the property AppSource.

A Source object that specifies the app repository.

Public Property Attributes System.Collections.Generic.Dictionary<System.String, System.String> Gets and sets the property Attributes.

One or more user-defined key/value pairs to be added to the stack attributes.

Public Property DataSources System.Collections.Generic.List<Amazon.OpsWorks.Model.DataSource> Gets and sets the property DataSources.

The app's data source.

Public Property Description System.String Gets and sets the property Description.

A description of the app.

Public Property Domains System.Collections.Generic.List<System.String> Gets and sets the property Domains.

The app virtual host settings, with multiple domains separated by commas. For example: 'www.example.com, example.com'

Public Property EnableSsl System.Boolean Gets and sets the property EnableSsl.

Whether to enable SSL for the app.

Public Property Environment System.Collections.Generic.List<Amazon.OpsWorks.Model.EnvironmentVariable> Gets and sets the property Environment.

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 10 KB (10240 Bytes). 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 10KB)."

This parameter is supported only by Chef 11.10 stacks. If you have specified one or more environment variables, you cannot modify the stack's Chef version.
Public Property Name System.String Gets and sets the property Name.

The app name.

Public Property Shortname System.String Gets and sets the property Shortname.

The app's short name.

Public Property SslConfiguration Amazon.OpsWorks.Model.SslConfiguration Gets and sets the property SslConfiguration.

An SslConfiguration object with the SSL configuration.

Public Property StackId System.String Gets and sets the property StackId.

The stack ID.

Public Property Type Amazon.OpsWorks.AppType Gets and sets the property Type.

The app type. Each supported type is associated with a particular layer. For example, PHP applications are associated with a PHP layer. AWS OpsWorks 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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8