Paws::SageMaker::CreateEndpointConfig - Arguments for method CreateEndpointConfig on Paws::SageMaker


This class represents the parameters used for calling the method CreateEndpointConfig on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method CreateEndpointConfig.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEndpointConfig.


    my $api.sagemaker = Paws->service('SageMaker');
    my $CreateEndpointConfigOutput = $api . sagemaker->CreateEndpointConfig(
      EndpointConfigName => 'MyEndpointConfigName',
      ProductionVariants => [
          InitialInstanceCount => 1,               # min: 1
          InstanceType         => 'ml.t2.medium'
          , # values: 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
          ModelName       => 'MyModelName',      # max: 63
          VariantName     => 'MyVariantName',    # max: 63
          AcceleratorType => 'ml.eia1.medium'
          ,    # values: ml.eia1.medium, ml.eia1.large, ml.eia1.xlarge; OPTIONAL
          InitialVariantWeight => 1.0,    # OPTIONAL
      KmsKeyId => 'MyKmsKeyId',           # OPTIONAL
      Tags     => [
          Key   => 'MyTagKey',            # min: 1, max: 128
          Value => 'MyTagValue',          # max: 256

      ],                                  # OPTIONAL

    # Results:
    my $EndpointConfigArn = $CreateEndpointConfigOutput->EndpointConfigArn;

    # Returns a L<Paws::SageMaker::CreateEndpointConfigOutput> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED EndpointConfigName => Str

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

KmsKeyId => Str

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.

REQUIRED ProductionVariants => ArrayRef[Paws::SageMaker::ProductionVariant]

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

Tags => ArrayRef[Paws::SageMaker::Tag]

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


This class forms part of Paws, documenting arguments for method CreateEndpointConfig in Paws::SageMaker


The source code is located here:

Please report bugs to: