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.

Describes the placement of an instance.

Inheritance Hierarchy

System.Object
  Amazon.EC2.Model.LaunchTemplatePlacement

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

Syntax

C#
public class LaunchTemplatePlacement

The LaunchTemplatePlacement type exposes the following members

Constructors

NameDescription
Public Method LaunchTemplatePlacement()

Properties

NameTypeDescription
Public Property Affinity System.String

Gets and sets the property Affinity.

The affinity setting for the instance on the Dedicated Host.

Public Property AvailabilityZone System.String

Gets and sets the property AvailabilityZone.

The Availability Zone of the instance.

Public Property GroupName System.String

Gets and sets the property GroupName.

The name of the placement group for the instance.

Public Property HostId System.String

Gets and sets the property HostId.

The ID of the Dedicated Host for the instance.

Public Property HostResourceGroupArn System.String

Gets and sets the property HostResourceGroupArn.

The ARN of the host resource group in which to launch the instances.

Public Property PartitionNumber System.Int32

Gets and sets the property PartitionNumber.

The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.

Public Property SpreadDomain System.String

Gets and sets the property SpreadDomain.

Reserved for future use.

Public Property Tenancy Amazon.EC2.Tenancy

Gets and sets the property Tenancy.

The tenancy of the instance (if the instance is running in a VPC). An instance with a tenancy of dedicated runs on single-tenant hardware.

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