/AWS1/CL_SGMRESOURCESPEC¶
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 SageMakerImageVersionArn and SageMakerImageArn are passed, SageMakerImageVersionArn is used. Any updates to SageMakerImageArn will not take effect if SageMakerImageVersionArn already exists in the ResourceSpec because SageMakerImageVersionArn always takes precedence. To clear the value set for SageMakerImageVersionArn, pass None as the value.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_sagemakerimagearn TYPE /AWS1/SGMIMAGEARN /AWS1/SGMIMAGEARN¶
The ARN of the SageMaker AI image that the image version belongs to.
iv_sagemakerimageversionarn TYPE /AWS1/SGMIMAGEVERSIONARN /AWS1/SGMIMAGEVERSIONARN¶
The ARN of the image version created on the instance. To clear the value set for
SageMakerImageVersionArn, passNoneas the value.
iv_smimageversionalias TYPE /AWS1/SGMIMAGEVERSIONALIAS /AWS1/SGMIMAGEVERSIONALIAS¶
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
iv_instancetype TYPE /AWS1/SGMAPPINSTANCETYPE /AWS1/SGMAPPINSTANCETYPE¶
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.
iv_lifecycleconfigarn TYPE /AWS1/SGMSTUDIOLCCONFIGARN /AWS1/SGMSTUDIOLCCONFIGARN¶
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
Queryable Attributes¶
SageMakerImageArn¶
The ARN of the SageMaker AI image that the image version belongs to.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SAGEMAKERIMAGEARN() |
Getter for SAGEMAKERIMAGEARN, with configurable default |
ASK_SAGEMAKERIMAGEARN() |
Getter for SAGEMAKERIMAGEARN w/ exceptions if field has no v |
HAS_SAGEMAKERIMAGEARN() |
Determine if SAGEMAKERIMAGEARN has a value |
SageMakerImageVersionArn¶
The ARN of the image version created on the instance. To clear the value set for
SageMakerImageVersionArn, passNoneas the value.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SAGEMAKERIMAGEVERSIONARN() |
Getter for SAGEMAKERIMAGEVERSIONARN, with configurable defau |
ASK_SAGEMAKERIMAGEVERSIONARN() |
Getter for SAGEMAKERIMAGEVERSIONARN w/ exceptions if field h |
HAS_SAGEMAKERIMAGEVERSIONARN() |
Determine if SAGEMAKERIMAGEVERSIONARN has a value |
SageMakerImageVersionAlias¶
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SMIMAGEVERSIONALIAS() |
Getter for SAGEMAKERIMAGEVERSIONALIAS, with configurable def |
ASK_SMIMAGEVERSIONALIAS() |
Getter for SAGEMAKERIMAGEVERSIONALIAS w/ exceptions if field |
HAS_SMIMAGEVERSIONALIAS() |
Determine if SAGEMAKERIMAGEVERSIONALIAS has a value |
InstanceType¶
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.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INSTANCETYPE() |
Getter for INSTANCETYPE, with configurable default |
ASK_INSTANCETYPE() |
Getter for INSTANCETYPE w/ exceptions if field has no value |
HAS_INSTANCETYPE() |
Determine if INSTANCETYPE has a value |
LifecycleConfigArn¶
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LIFECYCLECONFIGARN() |
Getter for LIFECYCLECONFIGARN, with configurable default |
ASK_LIFECYCLECONFIGARN() |
Getter for LIFECYCLECONFIGARN w/ exceptions if field has no |
HAS_LIFECYCLECONFIGARN() |
Determine if LIFECYCLECONFIGARN has a value |