Show / Hide Table of Contents

Class CfnAutoScalingGroup.DistributionSegmentProperty

Use this structure to specify the capacity types that Amazon EC2 Auto Scaling prioritizes when it launches instances.

Inheritance
object
CfnAutoScalingGroup.DistributionSegmentProperty
Implements
CfnAutoScalingGroup.IDistributionSegmentProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AutoScaling
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAutoScalingGroup.DistributionSegmentProperty : CfnAutoScalingGroup.IDistributionSegmentProperty
Syntax (vb)
Public Class CfnAutoScalingGroup.DistributionSegmentProperty Implements CfnAutoScalingGroup.IDistributionSegmentProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-distributionsegment.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.AWS.AutoScaling;

             var distributionSegmentProperty = new DistributionSegmentProperty {
                 TargetCapacityTypes = new [] { "targetCapacityTypes" }
             };

Synopsis

Constructors

DistributionSegmentProperty()

Use this structure to specify the capacity types that Amazon EC2 Auto Scaling prioritizes when it launches instances.

Properties

TargetCapacityTypes

The capacity types to prioritize, in order.

Constructors

DistributionSegmentProperty()

Use this structure to specify the capacity types that Amazon EC2 Auto Scaling prioritizes when it launches instances.

public DistributionSegmentProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-distributionsegment.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.AWS.AutoScaling;

             var distributionSegmentProperty = new DistributionSegmentProperty {
                 TargetCapacityTypes = new [] { "targetCapacityTypes" }
             };

Properties

TargetCapacityTypes

The capacity types to prioritize, in order.

public string[] TargetCapacityTypes { get; set; }
Property Value

string[]

Remarks

Amazon EC2 Auto Scaling attempts to launch instances in the priority order of the capacity types, and within each capacity type, in the order of instance types listed in your launch template Overrides. The following lists the valid values:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-autoscaling-autoscalinggroup-distributionsegment.html#cfn-autoscaling-autoscalinggroup-distributionsegment-targetcapacitytypes

    Implements

    CfnAutoScalingGroup.IDistributionSegmentProperty
    Back to top Generated by DocFX