You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SageMaker::Types::CreateEndpointConfigInput

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb

Overview

Note:

When making an API call, you may pass CreateEndpointConfigInput data as a hash:

{
  endpoint_config_name: "EndpointConfigName", # required
  production_variants: [ # required
    {
      variant_name: "VariantName", # required
      model_name: "ModelName", # required
      initial_instance_count: 1, # required
      instance_type: "ml.t2.medium", # required, accepts ml.t2.medium, ml.t2.large, ml.t2.xlarge, ml.t2.2xlarge, ml.m4.xlarge, ml.m4.2xlarge, ml.m4.4xlarge, ml.m4.10xlarge, ml.m4.16xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.12xlarge, ml.m5.24xlarge, ml.c4.large, ml.c4.xlarge, ml.c4.2xlarge, ml.c4.4xlarge, ml.c4.8xlarge, ml.p2.xlarge, ml.p2.8xlarge, ml.p2.16xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.18xlarge
      initial_variant_weight: 1.0,
    },
  ],
  tags: [
    {
      key: "TagKey", # required
      value: "TagValue", # required
    },
  ],
  kms_key_id: "KmsKeyId",
}

Instance Attribute Summary collapse

Instance Attribute Details

#endpoint_config_nameString

The name of the endpoint configuration. You specify this name in a CreateEndpoint request.

Returns:

  • (String)


364
365
366
367
368
369
370
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 364

class CreateEndpointConfigInput < Struct.new(
  :endpoint_config_name,
  :production_variants,
  :tags,
  :kms_key_id)
  include Aws::Structure
end

#kms_key_idString

The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.

Returns:

  • (String)


364
365
366
367
368
369
370
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 364

class CreateEndpointConfigInput < Struct.new(
  :endpoint_config_name,
  :production_variants,
  :tags,
  :kms_key_id)
  include Aws::Structure
end

#production_variantsArray<Types::ProductionVariant>

An array of ProductionVariant objects, one for each model that you want to host at this endpoint.

Returns:



364
365
366
367
368
369
370
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 364

class CreateEndpointConfigInput < Struct.new(
  :endpoint_config_name,
  :production_variants,
  :tags,
  :kms_key_id)
  include Aws::Structure
end

#tagsArray<Types::Tag>

An array of key-value pairs. For more information, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

Returns:



364
365
366
367
368
369
370
# File 'gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/types.rb', line 364

class CreateEndpointConfigInput < Struct.new(
  :endpoint_config_name,
  :production_variants,
  :tags,
  :kms_key_id)
  include Aws::Structure
end