Skip to content
v2.277.0

RenderSignalsOptions Struct ​

Input for Signals.renderCreationPolicy.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_autoscaling as autoscaling } from 'aws-cdk-lib';
const renderSignalsOptions: autoscaling.RenderSignalsOptions = {
  desiredCapacity: 123,
  minCapacity: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_autoscaling as autoscaling

render_signals_options = autoscaling.RenderSignalsOptions(
    desired_capacity=123,
    min_capacity=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.autoscaling.*;

RenderSignalsOptions renderSignalsOptions = RenderSignalsOptions.builder()
        .desiredCapacity(123)
        .minCapacity(123)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 renderSignalsOptions = new RenderSignalsOptions {
    DesiredCapacity = 123,
    MinCapacity = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

renderSignalsOptions := &RenderSignalsOptions{
	DesiredCapacity: jsii.Number(123),
	MinCapacity: jsii.Number(123),
}

Properties ​

desiredCapacityoptionalnumberdesired_capacityoptionalint | floatdesiredCapacityoptionalNumberDesiredCapacityoptionaldoubleDesiredCapacityoptional*float64#
The desiredCapacity of the ASG.

Default: desired capacity not configured

minCapacityoptionalnumbermin_capacityoptionalint | floatminCapacityoptionalNumberMinCapacityoptionaldoubleMinCapacityoptional*float64#
The minSize of the ASG.

Default: minCapacity not configured