BaseScalableAttributeProps Struct
Properties for a ScalableTableAttribute.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_applicationautoscaling as appscaling } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const role: iam.Role;
const baseScalableAttributeProps: appscaling.BaseScalableAttributeProps = {
dimension: 'dimension',
maxCapacity: 123,
resourceId: 'resourceId',
role: role,
serviceNamespace: appscaling.ServiceNamespace.ECS,
// the properties below are optional
minCapacity: 123,
};
Properties
Scalable dimension of the attribute.
maxCapacitynumbermax_capacityint | floatmaxCapacityNumberMaxCapacitydoubleMaxCapacity*float64required#Maximum capacity to scale to.
Minimum capacity to scale to.
Resource ID of the attribute.
serviceNamespaceServiceNamespaceservice_namespaceServiceNamespaceserviceNamespaceServiceNamespaceServiceNamespaceServiceNamespaceServiceNamespaceServiceNamespacerequired#Service namespace of the scalable attribute.