Experimental
@aws-cdk/aws-sagemaker-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ScalableInstanceCountProps Struct
The properties of a scalable attribute representing task count.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sagemaker_alpha from '@aws-cdk/aws-sagemaker-alpha';
import { aws_applicationautoscaling as appscaling } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const role: iam.Role;
const scalableInstanceCountProps: sagemaker_alpha.ScalableInstanceCountProps = {
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.
minCapacityoptionalnumbermin_capacityoptionalint | floatminCapacityoptionalNumberMinCapacityoptionaldoubleMinCapacityoptional*float64= 1#Minimum capacity to scale to.
Resource ID of the attribute.
serviceNamespaceServiceNamespaceservice_namespaceServiceNamespaceserviceNamespaceServiceNamespaceServiceNamespaceServiceNamespaceServiceNamespaceServiceNamespacerequired#Service namespace of the scalable attribute.