Class CfnSpacePropsMixin.ResourceSpecProperty
Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnSpacePropsMixin.ResourceSpecProperty : CfnSpacePropsMixin.IResourceSpecProperty
Syntax (vb)
Public Class CfnSpacePropsMixin.ResourceSpecProperty Implements CfnSpacePropsMixin.IResourceSpecProperty
Remarks
When both <code>SageMakerImageVersionArn</code> and <code>SageMakerImageArn</code> are passed, <code>SageMakerImageVersionArn</code> is used. Any updates to <code>SageMakerImageArn</code> will not take effect if <code>SageMakerImageVersionArn</code> already exists in the <code>ResourceSpec</code> because <code>SageMakerImageVersionArn</code> always takes precedence. To clear the value set for <code>SageMakerImageVersionArn</code> , pass <code>None</code> as the value.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins;
var resourceSpecProperty = new ResourceSpecProperty {
InstanceType = "instanceType",
LifecycleConfigArn = "lifecycleConfigArn",
SageMakerImageArn = "sageMakerImageArn",
SageMakerImageVersionArn = "sageMakerImageVersionArn"
};
Synopsis
Constructors
| ResourceSpecProperty() | Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on. |
Properties
| InstanceType | The instance type that the image version runs on. |
| LifecycleConfigArn | The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource. |
| SageMakerImageArn | The ARN of the SageMaker AI image that the image version belongs to. |
| SageMakerImageVersionArn | The ARN of the image version created on the instance. |
Constructors
ResourceSpecProperty()
Specifies the ARN's of a SageMaker AI image and SageMaker AI image version, and the instance type that the version runs on.
public ResourceSpecProperty()
Remarks
When both <code>SageMakerImageVersionArn</code> and <code>SageMakerImageArn</code> are passed, <code>SageMakerImageVersionArn</code> is used. Any updates to <code>SageMakerImageArn</code> will not take effect if <code>SageMakerImageVersionArn</code> already exists in the <code>ResourceSpec</code> because <code>SageMakerImageVersionArn</code> always takes precedence. To clear the value set for <code>SageMakerImageVersionArn</code> , pass <code>None</code> as the value.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins;
var resourceSpecProperty = new ResourceSpecProperty {
InstanceType = "instanceType",
LifecycleConfigArn = "lifecycleConfigArn",
SageMakerImageArn = "sageMakerImageArn",
SageMakerImageVersionArn = "sageMakerImageVersionArn"
};
Properties
InstanceType
The instance type that the image version runs on.
public string? InstanceType { get; set; }
Property Value
Remarks
<em>JupyterServer apps</em> only support the <code>system</code> value.
For KernelGateway apps , the system value is translated to ml.t3.medium . KernelGateway apps also support all other values for available instance types.
LifecycleConfigArn
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
public string? LifecycleConfigArn { get; set; }
Property Value
Remarks
SageMakerImageArn
The ARN of the SageMaker AI image that the image version belongs to.
public string? SageMakerImageArn { get; set; }
Property Value
Remarks
SageMakerImageVersionArn
The ARN of the image version created on the instance.
public string? SageMakerImageVersionArn { get; set; }
Property Value
Remarks
To clear the value set for SageMakerImageVersionArn , pass None as the value.