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 UpdateApp operation. Updates a specified app.

Required Permissions: To use this action, an IAM user must have a Deploy or 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.UpdateAppRequest

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

Syntax

C#
public class UpdateAppRequest : AmazonOpsWorksRequest
         IRequestEvents

The UpdateAppRequest type exposes the following members

Constructors

NameDescription
Public Method UpdateAppRequest()

Properties

NameTypeDescription
Public Property AppId System.String Gets and sets the property AppId.

The app ID.

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 sources.

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's 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 SSL is enabled 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 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 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 SslConfiguration Amazon.OpsWorks.Model.SslConfiguration Gets and sets the property SslConfiguration.

An SslConfiguration object with the SSL configuration.

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

The app type.

Version Information

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

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