Show / Hide Table of Contents

Class CfnCapacityProviderPropsMixin.CapacityProviderScalingConfigProperty

Configuration that defines how the capacity provider scales compute instances based on demand and policies.

Inheritance
object
CfnCapacityProviderPropsMixin.CapacityProviderScalingConfigProperty
Implements
CfnCapacityProviderPropsMixin.ICapacityProviderScalingConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.Lambda
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnCapacityProviderPropsMixin.CapacityProviderScalingConfigProperty : CfnCapacityProviderPropsMixin.ICapacityProviderScalingConfigProperty
Syntax (vb)
Public Class CfnCapacityProviderPropsMixin.CapacityProviderScalingConfigProperty Implements CfnCapacityProviderPropsMixin.ICapacityProviderScalingConfigProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.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.CfnPropertyMixins.AWS.Lambda;

             var capacityProviderScalingConfigProperty = new CapacityProviderScalingConfigProperty {
                 MaxVCpuCount = 123,
                 ScalingMode = "scalingMode",
                 ScalingPolicies = new [] { new TargetTrackingScalingPolicyProperty {
                     PredefinedMetricType = "predefinedMetricType",
                     TargetValue = 123
                 } }
             };

Synopsis

Constructors

CapacityProviderScalingConfigProperty()

Configuration that defines how the capacity provider scales compute instances based on demand and policies.

Properties

MaxVCpuCount

The maximum number of vCPUs that the capacity provider can provision across all compute instances.

ScalingMode

The scaling mode that determines how the capacity provider responds to changes in demand.

ScalingPolicies

A list of target tracking scaling policies for the capacity provider.

Constructors

CapacityProviderScalingConfigProperty()

Configuration that defines how the capacity provider scales compute instances based on demand and policies.

public CapacityProviderScalingConfigProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.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.CfnPropertyMixins.AWS.Lambda;

             var capacityProviderScalingConfigProperty = new CapacityProviderScalingConfigProperty {
                 MaxVCpuCount = 123,
                 ScalingMode = "scalingMode",
                 ScalingPolicies = new [] { new TargetTrackingScalingPolicyProperty {
                     PredefinedMetricType = "predefinedMetricType",
                     TargetValue = 123
                 } }
             };

Properties

MaxVCpuCount

The maximum number of vCPUs that the capacity provider can provision across all compute instances.

public double? MaxVCpuCount { get; set; }
Property Value

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.html#cfn-lambda-capacityprovider-capacityproviderscalingconfig-maxvcpucount

ScalingMode

The scaling mode that determines how the capacity provider responds to changes in demand.

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

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.html#cfn-lambda-capacityprovider-capacityproviderscalingconfig-scalingmode

ScalingPolicies

A list of target tracking scaling policies for the capacity provider.

public object? ScalingPolicies { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-capacityprovider-capacityproviderscalingconfig.html#cfn-lambda-capacityprovider-capacityproviderscalingconfig-scalingpolicies

Type union: either IResolvable or (either IResolvable or CfnCapacityProviderPropsMixin.ITargetTrackingScalingPolicyProperty)[]

Implements

CfnCapacityProviderPropsMixin.ICapacityProviderScalingConfigProperty
Back to top Generated by DocFX