@aws-cdk_aws-sagemaker-alpha.ScalableInstanceCountProps

interface ScalableInstanceCountProps ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Sagemaker.Alpha.ScalableInstanceCountProps
Gogithub.com/aws/aws-cdk-go/awscdksagemakeralpha/v2#ScalableInstanceCountProps
Javasoftware.amazon.awscdk.services.sagemaker.alpha.ScalableInstanceCountProps
Pythonaws_cdk.aws_sagemaker_alpha.ScalableInstanceCountProps
TypeScript (source)@aws-cdk/aws-sagemaker-alpha ยป ScalableInstanceCountProps

The properties of a scalable attribute representing task count.

Example

// 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

NameTypeDescription
dimension๐Ÿ”นstringScalable dimension of the attribute.
maxCapacity๐Ÿ”นnumberMaximum capacity to scale to.
resourceId๐Ÿ”นstringResource ID of the attribute.
role๐Ÿ”นIRoleRole to use for scaling.
serviceNamespace๐Ÿ”นServiceNamespaceService namespace of the scalable attribute.
minCapacity?๐Ÿ”นnumberMinimum capacity to scale to.

dimension๐Ÿ”น

Type: string

Scalable dimension of the attribute.


maxCapacity๐Ÿ”น

Type: number

Maximum capacity to scale to.


resourceId๐Ÿ”น

Type: string

Resource ID of the attribute.


role๐Ÿ”น

Type: IRole

Role to use for scaling.


serviceNamespace๐Ÿ”น

Type: ServiceNamespace

Service namespace of the scalable attribute.


minCapacity?๐Ÿ”น

Type: number (optional, default: 1)

Minimum capacity to scale to.