Class: AWSCDK::Sagemaker::CfnEndpoint::VariantPropertyProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Sagemaker::CfnEndpoint::VariantPropertyProperty
- 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
-
#variant_property_type ⇒ String?
readonly
The type of variant property.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(variant_property_type: nil) ⇒ VariantPropertyProperty
constructor
A new instance of VariantPropertyProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(variant_property_type: nil) ⇒ VariantPropertyProperty
Returns a new instance of VariantPropertyProperty.
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_type ⇒ String? (readonly)
The type of variant property. The supported values are:.
DesiredInstanceCount: Overrides the existing variant instance counts using the InitialInstanceCount values in the ProductionVariants .DesiredWeight: Overrides the existing variant weights using the InitialVariantWeight values in the ProductionVariants .DataCaptureConfig: (Not currently supported.)
999 1000 1001 |
# File 'sagemaker/cfn_endpoint.rb', line 999 def variant_property_type @variant_property_type end |
Class Method Details
.jsii_properties ⇒ Object
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_jsii ⇒ Object
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 |