AWS SDK Version 3 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.

A target Amazon EC2 or on-premises instance during a deployment that uses the EC2/On-premises compute platform.

Inheritance Hierarchy

System.Object
  Amazon.CodeDeploy.Model.InstanceTarget

Namespace: Amazon.CodeDeploy.Model
Assembly: AWSSDK.CodeDeploy.dll
Version: 3.x.y.z

Syntax

C#
public class InstanceTarget

The InstanceTarget type exposes the following members

Constructors

NameDescription
Public Method InstanceTarget()

Properties

NameTypeDescription
Public Property DeploymentId System.String

Gets and sets the property DeploymentId.

The unique ID of a deployment.

Public Property InstanceLabel Amazon.CodeDeploy.TargetLabel

Gets and sets the property InstanceLabel.

A label that identifies whether the instance is an original target (BLUE) or a replacement target (GREEN).

Public Property LastUpdatedAt System.DateTime

Gets and sets the property LastUpdatedAt.

The date and time when the target instance was updated by a deployment.

Public Property LifecycleEvents System.Collections.Generic.List<Amazon.CodeDeploy.Model.LifecycleEvent>

Gets and sets the property LifecycleEvents.

The lifecycle events of the deployment to this target instance.

Public Property Status Amazon.CodeDeploy.TargetStatus

Gets and sets the property Status.

The status an EC2/On-premises deployment's target instance.

Public Property TargetArn System.String

Gets and sets the property TargetArn.

The Amazon Resource Name (ARN) of the target.

Public Property TargetId System.String

Gets and sets the property TargetId.

The unique ID of a deployment target that has a type of instanceTarget.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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