InstanceType
- class aws_cdk.aws_sagemaker_alpha.InstanceType(instance_type)
Bases:
object
(experimental) Supported instance types for SageMaker instance-based production variants.
- Stability:
experimental
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_sagemaker_alpha as sagemaker_alpha instance_type = sagemaker_alpha.InstanceType.C4_2XLARGE
- Parameters:
instance_type (
str
) –- Stability:
experimental
Methods
- to_string()
(experimental) Return the instance type as a string.
- Return type:
str
- Returns:
The instance type as a string
- Stability:
experimental
Attributes
- C4_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C4_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C4_8_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C4_LARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_18_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_9_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_D_18_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_D_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_D_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_D_9_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_D_LARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_D_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_LARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C5_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C6_I_12_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C6_I_16_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C6_I_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C6_I_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C6_I_32_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C6_I_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C6_I_8_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C6_I_LARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- C6_I_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G4_DN_12_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G4_DN_16_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G4_DN_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G4_DN_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G4_DN_8_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G4_DN_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G5_12_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G5_16_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G5_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G5_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G5_48_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G5_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G5_8_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G5_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G6_12_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G6_16_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G6_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G6_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G6_48_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G6_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G6_8_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- G6_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- INF1_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- INF1_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- INF1_6_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- INF1_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- INF2_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- INF2_48_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- INF2_8_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- INF2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M4_10_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M4_16_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M4_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M4_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_12_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_D_12_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_D_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_D_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_D_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_D_LARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_D_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_LARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- M5_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- P2_16_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- P2_8_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- P2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- P3_16_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- P3_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- P3_8_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- P4_D_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_12_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_D_12_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_D_24_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_D_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_D_4_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_D_LARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_D_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_LARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- R5_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- T2_2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- T2_LARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- T2_MEDIUM = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
- T2_XLARGE = <aws_cdk.aws_sagemaker_alpha.InstanceType object>
Static Methods
- classmethod of(instance_type)
(experimental) Builds an InstanceType from a given string or token (such as a CfnParameter).
- Parameters:
instance_type (
str
) – An instance type as string.- Return type:
- Returns:
A strongly typed InstanceType
- Stability:
experimental