Show / Hide Table of Contents

Class CfnSpotFleetPropsMixin.SpotPlacementProperty

Describes Spot Instance placement.

Inheritance
object
CfnSpotFleetPropsMixin.SpotPlacementProperty
Implements
CfnSpotFleetPropsMixin.ISpotPlacementProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSpotFleetPropsMixin.SpotPlacementProperty : CfnSpotFleetPropsMixin.ISpotPlacementProperty
Syntax (vb)
Public Class CfnSpotFleetPropsMixin.SpotPlacementProperty Implements CfnSpotFleetPropsMixin.ISpotPlacementProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotplacement.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;

             var spotPlacementProperty = new SpotPlacementProperty {
                 AvailabilityZone = "availabilityZone",
                 GroupName = "groupName",
                 Tenancy = "tenancy"
             };

Synopsis

Constructors

SpotPlacementProperty()

Describes Spot Instance placement.

Properties

AvailabilityZone

The Availability Zone.

GroupName

The name of the placement group.

Tenancy

The tenancy of the instance (if the instance is running in a VPC).

Constructors

SpotPlacementProperty()

Describes Spot Instance placement.

public SpotPlacementProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotplacement.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.Mixins.Preview.AWS.EC2.Mixins;

             var spotPlacementProperty = new SpotPlacementProperty {
                 AvailabilityZone = "availabilityZone",
                 GroupName = "groupName",
                 Tenancy = "tenancy"
             };

Properties

AvailabilityZone

The Availability Zone.

public string? AvailabilityZone { get; set; }
Property Value

string

Remarks

To specify multiple Availability Zones, separate them using commas; for example, "us-west-2a, us-west-2b".

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotplacement.html#cfn-ec2-spotfleet-spotplacement-availabilityzone

GroupName

The name of the placement group.

public string? GroupName { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotplacement.html#cfn-ec2-spotfleet-spotplacement-groupname

Tenancy

The tenancy of the instance (if the instance is running in a VPC).

public string? Tenancy { get; set; }
Property Value

string

Remarks

An instance with a tenancy of dedicated runs on single-tenant hardware. The host tenancy is not supported for Spot Instances.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-spotfleet-spotplacement.html#cfn-ec2-spotfleet-spotplacement-tenancy

Implements

CfnSpotFleetPropsMixin.ISpotPlacementProperty
Back to top Generated by DocFX