CfnScalableTargetProps

class aws_cdk.aws_applicationautoscaling.CfnScalableTargetProps(*, max_capacity, min_capacity, resource_id, role_arn, scalable_dimension, service_namespace, scheduled_actions=None, suspended_state=None)

Bases: object

__init__(*, max_capacity, min_capacity, resource_id, role_arn, scalable_dimension, service_namespace, scheduled_actions=None, suspended_state=None)

Properties for defining a AWS::ApplicationAutoScaling::ScalableTarget.

Parameters
  • max_capacity (Union[int, float]) – AWS::ApplicationAutoScaling::ScalableTarget.MaxCapacity.

  • min_capacity (Union[int, float]) – AWS::ApplicationAutoScaling::ScalableTarget.MinCapacity.

  • resource_id (str) – AWS::ApplicationAutoScaling::ScalableTarget.ResourceId.

  • role_arn (str) – AWS::ApplicationAutoScaling::ScalableTarget.RoleARN.

  • scalable_dimension (str) – AWS::ApplicationAutoScaling::ScalableTarget.ScalableDimension.

  • service_namespace (str) – AWS::ApplicationAutoScaling::ScalableTarget.ServiceNamespace.

  • scheduled_actions (Union[IResolvable, None, List[Union[ScheduledActionProperty, IResolvable]]]) – AWS::ApplicationAutoScaling::ScalableTarget.ScheduledActions.

  • suspended_state (Union[IResolvable, None, SuspendedStateProperty]) – AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html

Attributes

max_capacity

AWS::ApplicationAutoScaling::ScalableTarget.MaxCapacity.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-maxcapacity

Return type

Union[int, float]

min_capacity

AWS::ApplicationAutoScaling::ScalableTarget.MinCapacity.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-mincapacity

Return type

Union[int, float]

resource_id

AWS::ApplicationAutoScaling::ScalableTarget.ResourceId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-resourceid

Return type

str

role_arn

AWS::ApplicationAutoScaling::ScalableTarget.RoleARN.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-rolearn

Return type

str

scalable_dimension

AWS::ApplicationAutoScaling::ScalableTarget.ScalableDimension.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-scalabledimension

Return type

str

scheduled_actions

AWS::ApplicationAutoScaling::ScalableTarget.ScheduledActions.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-scheduledactions

Return type

Union[IResolvable, None, List[Union[ScheduledActionProperty, IResolvable]]]

service_namespace

AWS::ApplicationAutoScaling::ScalableTarget.ServiceNamespace.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-servicenamespace

Return type

str

suspended_state

AWS::ApplicationAutoScaling::ScalableTarget.SuspendedState.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html#cfn-applicationautoscaling-scalabletarget-suspendedstate

Return type

Union[IResolvable, None, SuspendedStateProperty]