Class: AWSCDK::Sagemaker::CfnEndpoint::VariantPropertyProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sagemaker/cfn_endpoint.rb

Overview

Specifies a production variant property type for an Endpoint.

If you are updating an Endpoint with the RetainAllVariantProperties option set to true , the VarientProperty objects listed in ExcludeRetainedVariantProperties override the existing variant properties of the Endpoint.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(variant_property_type: nil) ⇒ VariantPropertyProperty

Returns a new instance of VariantPropertyProperty.

Parameters:

  • variant_property_type (String, nil) (defaults to: nil)

    The type of variant property. The supported values are:.



986
987
988
989
# File 'sagemaker/cfn_endpoint.rb', line 986

def initialize(variant_property_type: nil)
  @variant_property_type = variant_property_type
  Jsii::Type.check_type(@variant_property_type, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "variantPropertyType") unless @variant_property_type.nil?
end

Instance Attribute Details

#variant_property_typeString? (readonly)

The type of variant property. The supported values are:.



999
1000
1001
# File 'sagemaker/cfn_endpoint.rb', line 999

def variant_property_type
  @variant_property_type
end

Class Method Details

.jsii_propertiesObject



1001
1002
1003
1004
1005
# File 'sagemaker/cfn_endpoint.rb', line 1001

def self.jsii_properties
  {
    :variant_property_type => "variantPropertyType",
  }
end

Instance Method Details

#to_jsiiObject



1007
1008
1009
1010
1011
1012
1013
# File 'sagemaker/cfn_endpoint.rb', line 1007

def to_jsii
  result = {}
  result.merge!({
    "variantPropertyType" => @variant_property_type,
  })
  result.compact
end