BaseScalableAttributeProps

class aws_cdk.aws_applicationautoscaling.BaseScalableAttributeProps(*, max_capacity, min_capacity=None, dimension, resource_id, role, service_namespace)

Bases: aws_cdk.aws_applicationautoscaling.EnableScalingProps

__init__(*, max_capacity, min_capacity=None, dimension, resource_id, role, service_namespace)

Properties for a ScalableTableAttribute.

Parameters
  • max_capacity (Union[int, float]) – Maximum capacity to scale to.

  • min_capacity (Union[int, float, None]) – Minimum capacity to scale to. Default: 1

  • dimension (str) – Scalable dimension of the attribute.

  • resource_id (str) – Resource ID of the attribute.

  • role (IRole) – Role to use for scaling.

  • service_namespace (ServiceNamespace) – Service namespace of the scalable attribute.

Attributes

dimension

Scalable dimension of the attribute.

Return type

str

max_capacity

Maximum capacity to scale to.

Return type

Union[int, float]

min_capacity

Minimum capacity to scale to.

default :default: 1

Return type

Union[int, float, None]

resource_id

Resource ID of the attribute.

Return type

str

role

Role to use for scaling.

Return type

IRole

service_namespace

Service namespace of the scalable attribute.

Return type

ServiceNamespace