CfnWarmPoolProps

class aws_cdk.aws_autoscaling.CfnWarmPoolProps(*, auto_scaling_group_name, max_group_prepared_capacity=None, min_size=None, pool_state=None)

Bases: object

Properties for defining a AWS::AutoScaling::WarmPool.

Parameters
  • auto_scaling_group_name (str) – AWS::AutoScaling::WarmPool.AutoScalingGroupName.

  • max_group_prepared_capacity (Union[int, float, None]) – AWS::AutoScaling::WarmPool.MaxGroupPreparedCapacity.

  • min_size (Union[int, float, None]) – AWS::AutoScaling::WarmPool.MinSize.

  • pool_state (Optional[str]) – AWS::AutoScaling::WarmPool.PoolState.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-warmpool.html

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_autoscaling as autoscaling

cfn_warm_pool_props = autoscaling.CfnWarmPoolProps(
    auto_scaling_group_name="autoScalingGroupName",

    # the properties below are optional
    max_group_prepared_capacity=123,
    min_size=123,
    pool_state="poolState"
)

Attributes

auto_scaling_group_name

AWS::AutoScaling::WarmPool.AutoScalingGroupName.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-warmpool.html#cfn-autoscaling-warmpool-autoscalinggroupname

Return type

str

max_group_prepared_capacity

AWS::AutoScaling::WarmPool.MaxGroupPreparedCapacity.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-warmpool.html#cfn-autoscaling-warmpool-maxgrouppreparedcapacity

Return type

Union[int, float, None]

min_size

AWS::AutoScaling::WarmPool.MinSize.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-warmpool.html#cfn-autoscaling-warmpool-minsize

Return type

Union[int, float, None]

pool_state

AWS::AutoScaling::WarmPool.PoolState.

Link

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-autoscaling-warmpool.html#cfn-autoscaling-warmpool-poolstate

Return type

Optional[str]