Show / Hide Table of Contents

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.

Inheritance
object
CfnSpacePropsMixin.ResourceSpecProperty
Implements
CfnSpacePropsMixin.IResourceSpecProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html

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

string

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html#cfn-sagemaker-space-resourcespec-instancetype

LifecycleConfigArn

The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

public string? LifecycleConfigArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html#cfn-sagemaker-space-resourcespec-lifecycleconfigarn

SageMakerImageArn

The ARN of the SageMaker AI image that the image version belongs to.

public string? SageMakerImageArn { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html#cfn-sagemaker-space-resourcespec-sagemakerimagearn

SageMakerImageVersionArn

The ARN of the image version created on the instance.

public string? SageMakerImageVersionArn { get; set; }
Property Value

string

Remarks

To clear the value set for SageMakerImageVersionArn , pass None as the value.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-space-resourcespec.html#cfn-sagemaker-space-resourcespec-sagemakerimageversionarn

Implements

CfnSpacePropsMixin.IResourceSpecProperty
Back to top Generated by DocFX