amazonka-sagemaker-2.0: Amazon SageMaker Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.SageMaker.Types.ResourceSpec

Description

 
Synopsis

Documentation

data ResourceSpec Source #

Specifies the ARN's of a SageMaker image and SageMaker image version, and the instance type that the version runs on.

See: newResourceSpec smart constructor.

Constructors

ResourceSpec' 

Fields

  • instanceType :: Maybe AppInstanceType

    The instance type that the image version runs on.

    JupyterServer apps only support the system 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 :: Maybe Text

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

  • sageMakerImageArn :: Maybe Text

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

  • sageMakerImageVersionArn :: Maybe Text

    The ARN of the image version created on the instance.

Instances

Instances details
FromJSON ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

ToJSON ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

Generic ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

Associated Types

type Rep ResourceSpec :: Type -> Type #

Read ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

Show ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

NFData ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

Methods

rnf :: ResourceSpec -> () #

Eq ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

Hashable ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

type Rep ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

type Rep ResourceSpec = D1 ('MetaData "ResourceSpec" "Amazonka.SageMaker.Types.ResourceSpec" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "ResourceSpec'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppInstanceType)) :*: S1 ('MetaSel ('Just "lifecycleConfigArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sageMakerImageArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sageMakerImageVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newResourceSpec :: ResourceSpec Source #

Create a value of ResourceSpec with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:instanceType:ResourceSpec', resourceSpec_instanceType - The instance type that the image version runs on.

JupyterServer apps only support the system value.

For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

$sel:lifecycleConfigArn:ResourceSpec', resourceSpec_lifecycleConfigArn - The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.

$sel:sageMakerImageArn:ResourceSpec', resourceSpec_sageMakerImageArn - The ARN of the SageMaker image that the image version belongs to.

$sel:sageMakerImageVersionArn:ResourceSpec', resourceSpec_sageMakerImageVersionArn - The ARN of the image version created on the instance.

resourceSpec_instanceType :: Lens' ResourceSpec (Maybe AppInstanceType) Source #

The instance type that the image version runs on.

JupyterServer apps only support the system value.

For KernelGateway apps, the system value is translated to ml.t3.medium. KernelGateway apps also support all other values for available instance types.

resourceSpec_lifecycleConfigArn :: Lens' ResourceSpec (Maybe Text) Source #

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

resourceSpec_sageMakerImageArn :: Lens' ResourceSpec (Maybe Text) Source #

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

resourceSpec_sageMakerImageVersionArn :: Lens' ResourceSpec (Maybe Text) Source #

The ARN of the image version created on the instance.