libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Instances

Instances details
Eq ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

Read ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

Show 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 #

NFData ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

Methods

rnf :: ResourceSpec -> () #

Hashable ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

ToJSON ResourceSpec Source # 
Instance details

Defined in Amazonka.SageMaker.Types.ResourceSpec

FromJSON 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" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "ResourceSpec'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppInstanceType)) :*: S1 ('MetaSel ('Just "sageMakerImageArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "sageMakerImageVersionArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lifecycleConfigArn") '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.

$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.

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

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

The instance type that the image version runs on.

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.

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

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