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
 
Describes a deployment of a stack or app.

Inheritance Hierarchy

System.Object
  Amazon.OpsWorks.Model.Deployment

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

Syntax

C#
public class Deployment : Object

The Deployment type exposes the following members

Constructors

NameDescription
Public Method Deployment()

Properties

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

The app ID.

Public Property Command Amazon.OpsWorks.Model.DeploymentCommand Gets and sets the property Command.
Public Property Comment System.String Gets and sets the property Comment.

A user-defined comment.

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

Date when the deployment completed.

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

Date when the deployment was created.

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

A string that contains user-defined custom JSON. It can be used to override the corresponding default stack configuration attribute values for stack or to pass data to recipes. The string should be in the following format and must escape characters such as '"':

"{\"key1\": \"value1\", \"key2\": \"value2\",...}"

For more information on custom JSON, see Use Custom JSON to Modify the Stack Configuration Attributes.

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

The deployment ID.

Public Property Duration System.Int32 Gets and sets the property Duration.

The deployment duration.

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

The user's IAM ARN.

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

The IDs of the target instances.

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

The stack ID.

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

The deployment status:

  • running
  • successful
  • failed

Version Information

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

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