Interface CfnSpace.ResourceSpecProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpace.ResourceSpecProperty.Jsii$Proxy
- Enclosing class:
CfnSpace
@Stability(Stable)
public static interface CfnSpace.ResourceSpecProperty
extends software.amazon.jsii.JsiiSerializable
Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.
When both
SageMakerImageVersionArnandSageMakerImageArnare passed,SageMakerImageVersionArnis used. Any updates toSageMakerImageArnwill not take effect ifSageMakerImageVersionArnalready exists in theResourceSpecbecauseSageMakerImageVersionArnalways takes precedence. To clear the value set forSageMakerImageVersionArn, passNoneas the value.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
ResourceSpecProperty resourceSpecProperty = ResourceSpecProperty.builder()
.instanceType("instanceType")
.lifecycleConfigArn("lifecycleConfigArn")
.sageMakerImageArn("sageMakerImageArn")
.sageMakerImageVersionArn("sageMakerImageVersionArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSpace.ResourceSpecPropertystatic final classAn implementation forCfnSpace.ResourceSpecProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe instance type that the image version runs on.default StringThe Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.default StringThe ARN of the SageMaker AI image that the image version belongs to.default StringThe ARN of the image version created on the instance.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInstanceType
The instance type that the image version runs on.JupyterServer apps only support the
systemvalue.For KernelGateway apps , the
systemvalue is translated toml.t3.medium. KernelGateway apps also support all other values for available instance types.- See Also:
-
getLifecycleConfigArn
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.- See Also:
-
getSageMakerImageArn
The ARN of the SageMaker AI image that the image version belongs to.- See Also:
-
getSageMakerImageVersionArn
The ARN of the image version created on the instance.To clear the value set for
SageMakerImageVersionArn, passNoneas the value.- See Also:
-
builder
-