Documentation ¶
Index ¶
- type Args
- type AsyncInferenceConfig
- type AsyncInferenceConfigAttributes
- func (aic AsyncInferenceConfigAttributes) ClientConfig() terra.ListValue[AsyncInferenceConfigClientConfigAttributes]
- func (aic AsyncInferenceConfigAttributes) InternalRef() (terra.Reference, error)
- func (aic AsyncInferenceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aic AsyncInferenceConfigAttributes) InternalWithRef(ref terra.Reference) AsyncInferenceConfigAttributes
- func (aic AsyncInferenceConfigAttributes) OutputConfig() terra.ListValue[AsyncInferenceConfigOutputConfigAttributes]
- type AsyncInferenceConfigClientConfig
- type AsyncInferenceConfigClientConfigAttributes
- func (cc AsyncInferenceConfigClientConfigAttributes) InternalRef() (terra.Reference, error)
- func (cc AsyncInferenceConfigClientConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc AsyncInferenceConfigClientConfigAttributes) InternalWithRef(ref terra.Reference) AsyncInferenceConfigClientConfigAttributes
- func (cc AsyncInferenceConfigClientConfigAttributes) MaxConcurrentInvocationsPerInstance() terra.NumberValue
- type AsyncInferenceConfigClientConfigState
- type AsyncInferenceConfigOutputConfig
- type AsyncInferenceConfigOutputConfigAttributes
- func (oc AsyncInferenceConfigOutputConfigAttributes) InternalRef() (terra.Reference, error)
- func (oc AsyncInferenceConfigOutputConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (oc AsyncInferenceConfigOutputConfigAttributes) InternalWithRef(ref terra.Reference) AsyncInferenceConfigOutputConfigAttributes
- func (oc AsyncInferenceConfigOutputConfigAttributes) KmsKeyId() terra.StringValue
- func (oc AsyncInferenceConfigOutputConfigAttributes) NotificationConfig() terra.ListValue[AsyncInferenceConfigOutputConfigNotificationConfigAttributes]
- func (oc AsyncInferenceConfigOutputConfigAttributes) S3OutputPath() terra.StringValue
- type AsyncInferenceConfigOutputConfigNotificationConfig
- type AsyncInferenceConfigOutputConfigNotificationConfigAttributes
- func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) ErrorTopic() terra.StringValue
- func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalRef() (terra.Reference, error)
- func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalWithRef(ref terra.Reference) AsyncInferenceConfigOutputConfigNotificationConfigAttributes
- func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) SuccessTopic() terra.StringValue
- type AsyncInferenceConfigOutputConfigNotificationConfigState
- type AsyncInferenceConfigOutputConfigState
- type AsyncInferenceConfigState
- type DataCaptureConfig
- type DataCaptureConfigAttributes
- func (dcc DataCaptureConfigAttributes) CaptureContentTypeHeader() terra.ListValue[DataCaptureConfigCaptureContentTypeHeaderAttributes]
- func (dcc DataCaptureConfigAttributes) CaptureOptions() terra.ListValue[DataCaptureConfigCaptureOptionsAttributes]
- func (dcc DataCaptureConfigAttributes) DestinationS3Uri() terra.StringValue
- func (dcc DataCaptureConfigAttributes) EnableCapture() terra.BoolValue
- func (dcc DataCaptureConfigAttributes) InitialSamplingPercentage() terra.NumberValue
- func (dcc DataCaptureConfigAttributes) InternalRef() (terra.Reference, error)
- func (dcc DataCaptureConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dcc DataCaptureConfigAttributes) InternalWithRef(ref terra.Reference) DataCaptureConfigAttributes
- func (dcc DataCaptureConfigAttributes) KmsKeyId() terra.StringValue
- type DataCaptureConfigCaptureContentTypeHeader
- type DataCaptureConfigCaptureContentTypeHeaderAttributes
- func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) CsvContentTypes() terra.SetValue[terra.StringValue]
- func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalRef() (terra.Reference, error)
- func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalWithRef(ref terra.Reference) DataCaptureConfigCaptureContentTypeHeaderAttributes
- func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) JsonContentTypes() terra.SetValue[terra.StringValue]
- type DataCaptureConfigCaptureContentTypeHeaderState
- type DataCaptureConfigCaptureOptions
- type DataCaptureConfigCaptureOptionsAttributes
- func (co DataCaptureConfigCaptureOptionsAttributes) CaptureMode() terra.StringValue
- func (co DataCaptureConfigCaptureOptionsAttributes) InternalRef() (terra.Reference, error)
- func (co DataCaptureConfigCaptureOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (co DataCaptureConfigCaptureOptionsAttributes) InternalWithRef(ref terra.Reference) DataCaptureConfigCaptureOptionsAttributes
- type DataCaptureConfigCaptureOptionsState
- type DataCaptureConfigState
- type ProductionVariants
- type ProductionVariantsAttributes
- func (pv ProductionVariantsAttributes) AcceleratorType() terra.StringValue
- func (pv ProductionVariantsAttributes) InitialInstanceCount() terra.NumberValue
- func (pv ProductionVariantsAttributes) InitialVariantWeight() terra.NumberValue
- func (pv ProductionVariantsAttributes) InstanceType() terra.StringValue
- func (pv ProductionVariantsAttributes) InternalRef() (terra.Reference, error)
- func (pv ProductionVariantsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pv ProductionVariantsAttributes) InternalWithRef(ref terra.Reference) ProductionVariantsAttributes
- func (pv ProductionVariantsAttributes) ModelName() terra.StringValue
- func (pv ProductionVariantsAttributes) ServerlessConfig() terra.ListValue[ProductionVariantsServerlessConfigAttributes]
- func (pv ProductionVariantsAttributes) VariantName() terra.StringValue
- type ProductionVariantsServerlessConfig
- type ProductionVariantsServerlessConfigAttributes
- func (sc ProductionVariantsServerlessConfigAttributes) InternalRef() (terra.Reference, error)
- func (sc ProductionVariantsServerlessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc ProductionVariantsServerlessConfigAttributes) InternalWithRef(ref terra.Reference) ProductionVariantsServerlessConfigAttributes
- func (sc ProductionVariantsServerlessConfigAttributes) MaxConcurrency() terra.NumberValue
- func (sc ProductionVariantsServerlessConfigAttributes) MemorySizeInMb() terra.NumberValue
- type ProductionVariantsServerlessConfigState
- type ProductionVariantsState
- type Resource
- func (asec *Resource) Attributes() awsSagemakerEndpointConfigurationAttributes
- func (asec *Resource) Configuration() interface{}
- func (asec *Resource) DependOn() terra.Reference
- func (asec *Resource) Dependencies() terra.Dependencies
- func (asec *Resource) ImportState(state io.Reader) error
- func (asec *Resource) LifecycleManagement() *terra.Lifecycle
- func (asec *Resource) LocalName() string
- func (asec *Resource) State() (*awsSagemakerEndpointConfigurationState, bool)
- func (asec *Resource) StateMust() *awsSagemakerEndpointConfigurationState
- func (asec *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // KmsKeyArn: string, optional KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"` // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // AsyncInferenceConfig: optional AsyncInferenceConfig *AsyncInferenceConfig `hcl:"async_inference_config,block"` // DataCaptureConfig: optional DataCaptureConfig *DataCaptureConfig `hcl:"data_capture_config,block"` // ProductionVariants: min=1,max=10 ProductionVariants []ProductionVariants `hcl:"production_variants,block" validate:"min=1,max=10"` }
Args contains the configurations for aws_sagemaker_endpoint_configuration.
type AsyncInferenceConfig ¶
type AsyncInferenceConfig struct { // AsyncInferenceConfigClientConfig: optional ClientConfig *AsyncInferenceConfigClientConfig `hcl:"client_config,block"` // AsyncInferenceConfigOutputConfig: required OutputConfig *AsyncInferenceConfigOutputConfig `hcl:"output_config,block" validate:"required"` }
type AsyncInferenceConfigAttributes ¶
type AsyncInferenceConfigAttributes struct {
// contains filtered or unexported fields
}
func (AsyncInferenceConfigAttributes) ClientConfig ¶
func (aic AsyncInferenceConfigAttributes) ClientConfig() terra.ListValue[AsyncInferenceConfigClientConfigAttributes]
func (AsyncInferenceConfigAttributes) InternalRef ¶
func (aic AsyncInferenceConfigAttributes) InternalRef() (terra.Reference, error)
func (AsyncInferenceConfigAttributes) InternalTokens ¶
func (aic AsyncInferenceConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AsyncInferenceConfigAttributes) InternalWithRef ¶
func (aic AsyncInferenceConfigAttributes) InternalWithRef(ref terra.Reference) AsyncInferenceConfigAttributes
func (AsyncInferenceConfigAttributes) OutputConfig ¶
func (aic AsyncInferenceConfigAttributes) OutputConfig() terra.ListValue[AsyncInferenceConfigOutputConfigAttributes]
type AsyncInferenceConfigClientConfig ¶
type AsyncInferenceConfigClientConfig struct { // MaxConcurrentInvocationsPerInstance: number, optional MaxConcurrentInvocationsPerInstance terra.NumberValue `hcl:"max_concurrent_invocations_per_instance,attr"` }
type AsyncInferenceConfigClientConfigAttributes ¶
type AsyncInferenceConfigClientConfigAttributes struct {
// contains filtered or unexported fields
}
func (AsyncInferenceConfigClientConfigAttributes) InternalRef ¶
func (cc AsyncInferenceConfigClientConfigAttributes) InternalRef() (terra.Reference, error)
func (AsyncInferenceConfigClientConfigAttributes) InternalTokens ¶
func (cc AsyncInferenceConfigClientConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AsyncInferenceConfigClientConfigAttributes) InternalWithRef ¶
func (cc AsyncInferenceConfigClientConfigAttributes) InternalWithRef(ref terra.Reference) AsyncInferenceConfigClientConfigAttributes
func (AsyncInferenceConfigClientConfigAttributes) MaxConcurrentInvocationsPerInstance ¶
func (cc AsyncInferenceConfigClientConfigAttributes) MaxConcurrentInvocationsPerInstance() terra.NumberValue
type AsyncInferenceConfigClientConfigState ¶
type AsyncInferenceConfigClientConfigState struct {
MaxConcurrentInvocationsPerInstance float64 `json:"max_concurrent_invocations_per_instance"`
}
type AsyncInferenceConfigOutputConfig ¶
type AsyncInferenceConfigOutputConfig struct { // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // S3OutputPath: string, required S3OutputPath terra.StringValue `hcl:"s3_output_path,attr" validate:"required"` // AsyncInferenceConfigOutputConfigNotificationConfig: optional NotificationConfig *AsyncInferenceConfigOutputConfigNotificationConfig `hcl:"notification_config,block"` }
type AsyncInferenceConfigOutputConfigAttributes ¶
type AsyncInferenceConfigOutputConfigAttributes struct {
// contains filtered or unexported fields
}
func (AsyncInferenceConfigOutputConfigAttributes) InternalRef ¶
func (oc AsyncInferenceConfigOutputConfigAttributes) InternalRef() (terra.Reference, error)
func (AsyncInferenceConfigOutputConfigAttributes) InternalTokens ¶
func (oc AsyncInferenceConfigOutputConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AsyncInferenceConfigOutputConfigAttributes) InternalWithRef ¶
func (oc AsyncInferenceConfigOutputConfigAttributes) InternalWithRef(ref terra.Reference) AsyncInferenceConfigOutputConfigAttributes
func (AsyncInferenceConfigOutputConfigAttributes) KmsKeyId ¶
func (oc AsyncInferenceConfigOutputConfigAttributes) KmsKeyId() terra.StringValue
func (AsyncInferenceConfigOutputConfigAttributes) NotificationConfig ¶
func (oc AsyncInferenceConfigOutputConfigAttributes) NotificationConfig() terra.ListValue[AsyncInferenceConfigOutputConfigNotificationConfigAttributes]
func (AsyncInferenceConfigOutputConfigAttributes) S3OutputPath ¶
func (oc AsyncInferenceConfigOutputConfigAttributes) S3OutputPath() terra.StringValue
type AsyncInferenceConfigOutputConfigNotificationConfig ¶
type AsyncInferenceConfigOutputConfigNotificationConfig struct { // ErrorTopic: string, optional ErrorTopic terra.StringValue `hcl:"error_topic,attr"` // SuccessTopic: string, optional SuccessTopic terra.StringValue `hcl:"success_topic,attr"` }
type AsyncInferenceConfigOutputConfigNotificationConfigAttributes ¶
type AsyncInferenceConfigOutputConfigNotificationConfigAttributes struct {
// contains filtered or unexported fields
}
func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) ErrorTopic ¶
func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) ErrorTopic() terra.StringValue
func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalRef ¶
func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalRef() (terra.Reference, error)
func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalTokens ¶
func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalWithRef ¶
func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) InternalWithRef(ref terra.Reference) AsyncInferenceConfigOutputConfigNotificationConfigAttributes
func (AsyncInferenceConfigOutputConfigNotificationConfigAttributes) SuccessTopic ¶
func (nc AsyncInferenceConfigOutputConfigNotificationConfigAttributes) SuccessTopic() terra.StringValue
type AsyncInferenceConfigOutputConfigState ¶
type AsyncInferenceConfigOutputConfigState struct { KmsKeyId string `json:"kms_key_id"` S3OutputPath string `json:"s3_output_path"` NotificationConfig []AsyncInferenceConfigOutputConfigNotificationConfigState `json:"notification_config"` }
type AsyncInferenceConfigState ¶
type AsyncInferenceConfigState struct { ClientConfig []AsyncInferenceConfigClientConfigState `json:"client_config"` OutputConfig []AsyncInferenceConfigOutputConfigState `json:"output_config"` }
type DataCaptureConfig ¶
type DataCaptureConfig struct { // DestinationS3Uri: string, required DestinationS3Uri terra.StringValue `hcl:"destination_s3_uri,attr" validate:"required"` // EnableCapture: bool, optional EnableCapture terra.BoolValue `hcl:"enable_capture,attr"` // InitialSamplingPercentage: number, required InitialSamplingPercentage terra.NumberValue `hcl:"initial_sampling_percentage,attr" validate:"required"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // DataCaptureConfigCaptureContentTypeHeader: optional CaptureContentTypeHeader *DataCaptureConfigCaptureContentTypeHeader `hcl:"capture_content_type_header,block"` // DataCaptureConfigCaptureOptions: min=1,max=2 CaptureOptions []DataCaptureConfigCaptureOptions `hcl:"capture_options,block" validate:"min=1,max=2"` }
type DataCaptureConfigAttributes ¶
type DataCaptureConfigAttributes struct {
// contains filtered or unexported fields
}
func (DataCaptureConfigAttributes) CaptureContentTypeHeader ¶
func (dcc DataCaptureConfigAttributes) CaptureContentTypeHeader() terra.ListValue[DataCaptureConfigCaptureContentTypeHeaderAttributes]
func (DataCaptureConfigAttributes) CaptureOptions ¶
func (dcc DataCaptureConfigAttributes) CaptureOptions() terra.ListValue[DataCaptureConfigCaptureOptionsAttributes]
func (DataCaptureConfigAttributes) DestinationS3Uri ¶
func (dcc DataCaptureConfigAttributes) DestinationS3Uri() terra.StringValue
func (DataCaptureConfigAttributes) EnableCapture ¶
func (dcc DataCaptureConfigAttributes) EnableCapture() terra.BoolValue
func (DataCaptureConfigAttributes) InitialSamplingPercentage ¶
func (dcc DataCaptureConfigAttributes) InitialSamplingPercentage() terra.NumberValue
func (DataCaptureConfigAttributes) InternalRef ¶
func (dcc DataCaptureConfigAttributes) InternalRef() (terra.Reference, error)
func (DataCaptureConfigAttributes) InternalTokens ¶
func (dcc DataCaptureConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCaptureConfigAttributes) InternalWithRef ¶
func (dcc DataCaptureConfigAttributes) InternalWithRef(ref terra.Reference) DataCaptureConfigAttributes
func (DataCaptureConfigAttributes) KmsKeyId ¶
func (dcc DataCaptureConfigAttributes) KmsKeyId() terra.StringValue
type DataCaptureConfigCaptureContentTypeHeader ¶
type DataCaptureConfigCaptureContentTypeHeader struct { // CsvContentTypes: set of string, optional CsvContentTypes terra.SetValue[terra.StringValue] `hcl:"csv_content_types,attr"` // JsonContentTypes: set of string, optional JsonContentTypes terra.SetValue[terra.StringValue] `hcl:"json_content_types,attr"` }
type DataCaptureConfigCaptureContentTypeHeaderAttributes ¶
type DataCaptureConfigCaptureContentTypeHeaderAttributes struct {
// contains filtered or unexported fields
}
func (DataCaptureConfigCaptureContentTypeHeaderAttributes) CsvContentTypes ¶
func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) CsvContentTypes() terra.SetValue[terra.StringValue]
func (DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalRef ¶
func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalRef() (terra.Reference, error)
func (DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalTokens ¶
func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalWithRef ¶
func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) InternalWithRef(ref terra.Reference) DataCaptureConfigCaptureContentTypeHeaderAttributes
func (DataCaptureConfigCaptureContentTypeHeaderAttributes) JsonContentTypes ¶
func (ccth DataCaptureConfigCaptureContentTypeHeaderAttributes) JsonContentTypes() terra.SetValue[terra.StringValue]
type DataCaptureConfigCaptureOptions ¶
type DataCaptureConfigCaptureOptions struct { // CaptureMode: string, required CaptureMode terra.StringValue `hcl:"capture_mode,attr" validate:"required"` }
type DataCaptureConfigCaptureOptionsAttributes ¶
type DataCaptureConfigCaptureOptionsAttributes struct {
// contains filtered or unexported fields
}
func (DataCaptureConfigCaptureOptionsAttributes) CaptureMode ¶
func (co DataCaptureConfigCaptureOptionsAttributes) CaptureMode() terra.StringValue
func (DataCaptureConfigCaptureOptionsAttributes) InternalRef ¶
func (co DataCaptureConfigCaptureOptionsAttributes) InternalRef() (terra.Reference, error)
func (DataCaptureConfigCaptureOptionsAttributes) InternalTokens ¶
func (co DataCaptureConfigCaptureOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataCaptureConfigCaptureOptionsAttributes) InternalWithRef ¶
func (co DataCaptureConfigCaptureOptionsAttributes) InternalWithRef(ref terra.Reference) DataCaptureConfigCaptureOptionsAttributes
type DataCaptureConfigCaptureOptionsState ¶
type DataCaptureConfigCaptureOptionsState struct {
CaptureMode string `json:"capture_mode"`
}
type DataCaptureConfigState ¶
type DataCaptureConfigState struct { DestinationS3Uri string `json:"destination_s3_uri"` EnableCapture bool `json:"enable_capture"` InitialSamplingPercentage float64 `json:"initial_sampling_percentage"` KmsKeyId string `json:"kms_key_id"` CaptureContentTypeHeader []DataCaptureConfigCaptureContentTypeHeaderState `json:"capture_content_type_header"` CaptureOptions []DataCaptureConfigCaptureOptionsState `json:"capture_options"` }
type ProductionVariants ¶
type ProductionVariants struct { // AcceleratorType: string, optional AcceleratorType terra.StringValue `hcl:"accelerator_type,attr"` // InitialInstanceCount: number, optional InitialInstanceCount terra.NumberValue `hcl:"initial_instance_count,attr"` // InitialVariantWeight: number, optional InitialVariantWeight terra.NumberValue `hcl:"initial_variant_weight,attr"` // InstanceType: string, optional InstanceType terra.StringValue `hcl:"instance_type,attr"` // ModelName: string, required ModelName terra.StringValue `hcl:"model_name,attr" validate:"required"` // VariantName: string, optional VariantName terra.StringValue `hcl:"variant_name,attr"` // ProductionVariantsServerlessConfig: optional ServerlessConfig *ProductionVariantsServerlessConfig `hcl:"serverless_config,block"` }
type ProductionVariantsAttributes ¶
type ProductionVariantsAttributes struct {
// contains filtered or unexported fields
}
func (ProductionVariantsAttributes) AcceleratorType ¶
func (pv ProductionVariantsAttributes) AcceleratorType() terra.StringValue
func (ProductionVariantsAttributes) InitialInstanceCount ¶
func (pv ProductionVariantsAttributes) InitialInstanceCount() terra.NumberValue
func (ProductionVariantsAttributes) InitialVariantWeight ¶
func (pv ProductionVariantsAttributes) InitialVariantWeight() terra.NumberValue
func (ProductionVariantsAttributes) InstanceType ¶
func (pv ProductionVariantsAttributes) InstanceType() terra.StringValue
func (ProductionVariantsAttributes) InternalRef ¶
func (pv ProductionVariantsAttributes) InternalRef() (terra.Reference, error)
func (ProductionVariantsAttributes) InternalTokens ¶
func (pv ProductionVariantsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProductionVariantsAttributes) InternalWithRef ¶
func (pv ProductionVariantsAttributes) InternalWithRef(ref terra.Reference) ProductionVariantsAttributes
func (ProductionVariantsAttributes) ModelName ¶
func (pv ProductionVariantsAttributes) ModelName() terra.StringValue
func (ProductionVariantsAttributes) ServerlessConfig ¶
func (pv ProductionVariantsAttributes) ServerlessConfig() terra.ListValue[ProductionVariantsServerlessConfigAttributes]
func (ProductionVariantsAttributes) VariantName ¶
func (pv ProductionVariantsAttributes) VariantName() terra.StringValue
type ProductionVariantsServerlessConfig ¶
type ProductionVariantsServerlessConfig struct { // MaxConcurrency: number, required MaxConcurrency terra.NumberValue `hcl:"max_concurrency,attr" validate:"required"` // MemorySizeInMb: number, required MemorySizeInMb terra.NumberValue `hcl:"memory_size_in_mb,attr" validate:"required"` }
type ProductionVariantsServerlessConfigAttributes ¶
type ProductionVariantsServerlessConfigAttributes struct {
// contains filtered or unexported fields
}
func (ProductionVariantsServerlessConfigAttributes) InternalRef ¶
func (sc ProductionVariantsServerlessConfigAttributes) InternalRef() (terra.Reference, error)
func (ProductionVariantsServerlessConfigAttributes) InternalTokens ¶
func (sc ProductionVariantsServerlessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProductionVariantsServerlessConfigAttributes) InternalWithRef ¶
func (sc ProductionVariantsServerlessConfigAttributes) InternalWithRef(ref terra.Reference) ProductionVariantsServerlessConfigAttributes
func (ProductionVariantsServerlessConfigAttributes) MaxConcurrency ¶
func (sc ProductionVariantsServerlessConfigAttributes) MaxConcurrency() terra.NumberValue
func (ProductionVariantsServerlessConfigAttributes) MemorySizeInMb ¶
func (sc ProductionVariantsServerlessConfigAttributes) MemorySizeInMb() terra.NumberValue
type ProductionVariantsState ¶
type ProductionVariantsState struct { AcceleratorType string `json:"accelerator_type"` InitialInstanceCount float64 `json:"initial_instance_count"` InitialVariantWeight float64 `json:"initial_variant_weight"` InstanceType string `json:"instance_type"` ModelName string `json:"model_name"` VariantName string `json:"variant_name"` ServerlessConfig []ProductionVariantsServerlessConfigState `json:"serverless_config"` }
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_sagemaker_endpoint_configuration.
func (*Resource) Attributes ¶
func (asec *Resource) Attributes() awsSagemakerEndpointConfigurationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asec *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asec *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
Click to show internal directories.
Click to hide internal directories.