Documentation ¶
Index ¶
- type AsyncInferenceConfig
- type AsyncInferenceConfigAttributes
- func (aic AsyncInferenceConfigAttributes) ClientConfig() terra.ListValue[ClientConfigAttributes]
- 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[OutputConfigAttributes]
- type AsyncInferenceConfigState
- type CaptureContentTypeHeader
- type CaptureContentTypeHeaderAttributes
- func (ccth CaptureContentTypeHeaderAttributes) CsvContentTypes() terra.SetValue[terra.StringValue]
- func (ccth CaptureContentTypeHeaderAttributes) InternalRef() (terra.Reference, error)
- func (ccth CaptureContentTypeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ccth CaptureContentTypeHeaderAttributes) InternalWithRef(ref terra.Reference) CaptureContentTypeHeaderAttributes
- func (ccth CaptureContentTypeHeaderAttributes) JsonContentTypes() terra.SetValue[terra.StringValue]
- type CaptureContentTypeHeaderState
- type CaptureOptions
- type CaptureOptionsAttributes
- func (co CaptureOptionsAttributes) CaptureMode() terra.StringValue
- func (co CaptureOptionsAttributes) InternalRef() (terra.Reference, error)
- func (co CaptureOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (co CaptureOptionsAttributes) InternalWithRef(ref terra.Reference) CaptureOptionsAttributes
- type CaptureOptionsState
- type ClientConfig
- type ClientConfigAttributes
- func (cc ClientConfigAttributes) InternalRef() (terra.Reference, error)
- func (cc ClientConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cc ClientConfigAttributes) InternalWithRef(ref terra.Reference) ClientConfigAttributes
- func (cc ClientConfigAttributes) MaxConcurrentInvocationsPerInstance() terra.NumberValue
- type ClientConfigState
- type DataCaptureConfig
- type DataCaptureConfigAttributes
- func (dcc DataCaptureConfigAttributes) CaptureContentTypeHeader() terra.ListValue[CaptureContentTypeHeaderAttributes]
- func (dcc DataCaptureConfigAttributes) CaptureOptions() terra.ListValue[CaptureOptionsAttributes]
- 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 DataCaptureConfigState
- type NotificationConfig
- type NotificationConfigAttributes
- func (nc NotificationConfigAttributes) ErrorTopic() terra.StringValue
- func (nc NotificationConfigAttributes) IncludeInferenceResponseIn() terra.SetValue[terra.StringValue]
- func (nc NotificationConfigAttributes) InternalRef() (terra.Reference, error)
- func (nc NotificationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nc NotificationConfigAttributes) InternalWithRef(ref terra.Reference) NotificationConfigAttributes
- func (nc NotificationConfigAttributes) SuccessTopic() terra.StringValue
- type NotificationConfigState
- type OutputConfig
- type OutputConfigAttributes
- func (oc OutputConfigAttributes) InternalRef() (terra.Reference, error)
- func (oc OutputConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (oc OutputConfigAttributes) InternalWithRef(ref terra.Reference) OutputConfigAttributes
- func (oc OutputConfigAttributes) KmsKeyId() terra.StringValue
- func (oc OutputConfigAttributes) NotificationConfig() terra.ListValue[NotificationConfigAttributes]
- func (oc OutputConfigAttributes) S3FailurePath() terra.StringValue
- func (oc OutputConfigAttributes) S3OutputPath() terra.StringValue
- type OutputConfigState
- type ProductionVariants
- type ProductionVariantsAttributes
- func (pv ProductionVariantsAttributes) AcceleratorType() terra.StringValue
- func (pv ProductionVariantsAttributes) ContainerStartupHealthCheckTimeoutInSeconds() terra.NumberValue
- func (pv ProductionVariantsAttributes) CoreDumpConfig() terra.ListValue[ProductionVariantsCoreDumpConfigAttributes]
- func (pv ProductionVariantsAttributes) EnableSsmAccess() terra.BoolValue
- 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) ModelDataDownloadTimeoutInSeconds() terra.NumberValue
- func (pv ProductionVariantsAttributes) ModelName() terra.StringValue
- func (pv ProductionVariantsAttributes) ServerlessConfig() terra.ListValue[ProductionVariantsServerlessConfigAttributes]
- func (pv ProductionVariantsAttributes) VariantName() terra.StringValue
- func (pv ProductionVariantsAttributes) VolumeSizeInGb() terra.NumberValue
- type ProductionVariantsCoreDumpConfig
- type ProductionVariantsCoreDumpConfigAttributes
- func (cdc ProductionVariantsCoreDumpConfigAttributes) DestinationS3Uri() terra.StringValue
- func (cdc ProductionVariantsCoreDumpConfigAttributes) InternalRef() (terra.Reference, error)
- func (cdc ProductionVariantsCoreDumpConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cdc ProductionVariantsCoreDumpConfigAttributes) InternalWithRef(ref terra.Reference) ProductionVariantsCoreDumpConfigAttributes
- func (cdc ProductionVariantsCoreDumpConfigAttributes) KmsKeyId() terra.StringValue
- type ProductionVariantsCoreDumpConfigState
- 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 ShadowProductionVariants
- type ShadowProductionVariantsAttributes
- func (spv ShadowProductionVariantsAttributes) AcceleratorType() terra.StringValue
- func (spv ShadowProductionVariantsAttributes) ContainerStartupHealthCheckTimeoutInSeconds() terra.NumberValue
- func (spv ShadowProductionVariantsAttributes) CoreDumpConfig() terra.ListValue[ShadowProductionVariantsCoreDumpConfigAttributes]
- func (spv ShadowProductionVariantsAttributes) EnableSsmAccess() terra.BoolValue
- func (spv ShadowProductionVariantsAttributes) InitialInstanceCount() terra.NumberValue
- func (spv ShadowProductionVariantsAttributes) InitialVariantWeight() terra.NumberValue
- func (spv ShadowProductionVariantsAttributes) InstanceType() terra.StringValue
- func (spv ShadowProductionVariantsAttributes) InternalRef() (terra.Reference, error)
- func (spv ShadowProductionVariantsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (spv ShadowProductionVariantsAttributes) InternalWithRef(ref terra.Reference) ShadowProductionVariantsAttributes
- func (spv ShadowProductionVariantsAttributes) ModelDataDownloadTimeoutInSeconds() terra.NumberValue
- func (spv ShadowProductionVariantsAttributes) ModelName() terra.StringValue
- func (spv ShadowProductionVariantsAttributes) ServerlessConfig() terra.ListValue[ShadowProductionVariantsServerlessConfigAttributes]
- func (spv ShadowProductionVariantsAttributes) VariantName() terra.StringValue
- func (spv ShadowProductionVariantsAttributes) VolumeSizeInGb() terra.NumberValue
- type ShadowProductionVariantsCoreDumpConfig
- type ShadowProductionVariantsCoreDumpConfigAttributes
- func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) DestinationS3Uri() terra.StringValue
- func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) InternalRef() (terra.Reference, error)
- func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) InternalWithRef(ref terra.Reference) ShadowProductionVariantsCoreDumpConfigAttributes
- func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) KmsKeyId() terra.StringValue
- type ShadowProductionVariantsCoreDumpConfigState
- type ShadowProductionVariantsServerlessConfig
- type ShadowProductionVariantsServerlessConfigAttributes
- func (sc ShadowProductionVariantsServerlessConfigAttributes) InternalRef() (terra.Reference, error)
- func (sc ShadowProductionVariantsServerlessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc ShadowProductionVariantsServerlessConfigAttributes) InternalWithRef(ref terra.Reference) ShadowProductionVariantsServerlessConfigAttributes
- func (sc ShadowProductionVariantsServerlessConfigAttributes) MaxConcurrency() terra.NumberValue
- func (sc ShadowProductionVariantsServerlessConfigAttributes) MemorySizeInMb() terra.NumberValue
- type ShadowProductionVariantsServerlessConfigState
- type ShadowProductionVariantsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncInferenceConfig ¶
type AsyncInferenceConfig struct { // ClientConfig: optional ClientConfig *ClientConfig `hcl:"client_config,block"` // OutputConfig: required OutputConfig *OutputConfig `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[ClientConfigAttributes]
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[OutputConfigAttributes]
type AsyncInferenceConfigState ¶
type AsyncInferenceConfigState struct { ClientConfig []ClientConfigState `json:"client_config"` OutputConfig []OutputConfigState `json:"output_config"` }
type CaptureContentTypeHeader ¶
type CaptureContentTypeHeader 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 CaptureContentTypeHeaderAttributes ¶
type CaptureContentTypeHeaderAttributes struct {
// contains filtered or unexported fields
}
func (CaptureContentTypeHeaderAttributes) CsvContentTypes ¶
func (ccth CaptureContentTypeHeaderAttributes) CsvContentTypes() terra.SetValue[terra.StringValue]
func (CaptureContentTypeHeaderAttributes) InternalRef ¶
func (ccth CaptureContentTypeHeaderAttributes) InternalRef() (terra.Reference, error)
func (CaptureContentTypeHeaderAttributes) InternalTokens ¶
func (ccth CaptureContentTypeHeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CaptureContentTypeHeaderAttributes) InternalWithRef ¶
func (ccth CaptureContentTypeHeaderAttributes) InternalWithRef(ref terra.Reference) CaptureContentTypeHeaderAttributes
func (CaptureContentTypeHeaderAttributes) JsonContentTypes ¶
func (ccth CaptureContentTypeHeaderAttributes) JsonContentTypes() terra.SetValue[terra.StringValue]
type CaptureOptions ¶
type CaptureOptions struct { // CaptureMode: string, required CaptureMode terra.StringValue `hcl:"capture_mode,attr" validate:"required"` }
type CaptureOptionsAttributes ¶
type CaptureOptionsAttributes struct {
// contains filtered or unexported fields
}
func (CaptureOptionsAttributes) CaptureMode ¶
func (co CaptureOptionsAttributes) CaptureMode() terra.StringValue
func (CaptureOptionsAttributes) InternalRef ¶
func (co CaptureOptionsAttributes) InternalRef() (terra.Reference, error)
func (CaptureOptionsAttributes) InternalTokens ¶
func (co CaptureOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CaptureOptionsAttributes) InternalWithRef ¶
func (co CaptureOptionsAttributes) InternalWithRef(ref terra.Reference) CaptureOptionsAttributes
type CaptureOptionsState ¶
type CaptureOptionsState struct {
CaptureMode string `json:"capture_mode"`
}
type ClientConfig ¶
type ClientConfig struct { // MaxConcurrentInvocationsPerInstance: number, optional MaxConcurrentInvocationsPerInstance terra.NumberValue `hcl:"max_concurrent_invocations_per_instance,attr"` }
type ClientConfigAttributes ¶
type ClientConfigAttributes struct {
// contains filtered or unexported fields
}
func (ClientConfigAttributes) InternalRef ¶
func (cc ClientConfigAttributes) InternalRef() (terra.Reference, error)
func (ClientConfigAttributes) InternalTokens ¶
func (cc ClientConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClientConfigAttributes) InternalWithRef ¶
func (cc ClientConfigAttributes) InternalWithRef(ref terra.Reference) ClientConfigAttributes
func (ClientConfigAttributes) MaxConcurrentInvocationsPerInstance ¶
func (cc ClientConfigAttributes) MaxConcurrentInvocationsPerInstance() terra.NumberValue
type ClientConfigState ¶
type ClientConfigState struct {
MaxConcurrentInvocationsPerInstance float64 `json:"max_concurrent_invocations_per_instance"`
}
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"` // CaptureContentTypeHeader: optional CaptureContentTypeHeader *CaptureContentTypeHeader `hcl:"capture_content_type_header,block"` // CaptureOptions: min=1,max=2 CaptureOptions []CaptureOptions `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[CaptureContentTypeHeaderAttributes]
func (DataCaptureConfigAttributes) CaptureOptions ¶
func (dcc DataCaptureConfigAttributes) CaptureOptions() terra.ListValue[CaptureOptionsAttributes]
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 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 []CaptureContentTypeHeaderState `json:"capture_content_type_header"` CaptureOptions []CaptureOptionsState `json:"capture_options"` }
type NotificationConfig ¶
type NotificationConfig struct { // ErrorTopic: string, optional ErrorTopic terra.StringValue `hcl:"error_topic,attr"` // IncludeInferenceResponseIn: set of string, optional IncludeInferenceResponseIn terra.SetValue[terra.StringValue] `hcl:"include_inference_response_in,attr"` // SuccessTopic: string, optional SuccessTopic terra.StringValue `hcl:"success_topic,attr"` }
type NotificationConfigAttributes ¶
type NotificationConfigAttributes struct {
// contains filtered or unexported fields
}
func (NotificationConfigAttributes) ErrorTopic ¶
func (nc NotificationConfigAttributes) ErrorTopic() terra.StringValue
func (NotificationConfigAttributes) IncludeInferenceResponseIn ¶
func (nc NotificationConfigAttributes) IncludeInferenceResponseIn() terra.SetValue[terra.StringValue]
func (NotificationConfigAttributes) InternalRef ¶
func (nc NotificationConfigAttributes) InternalRef() (terra.Reference, error)
func (NotificationConfigAttributes) InternalTokens ¶
func (nc NotificationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NotificationConfigAttributes) InternalWithRef ¶
func (nc NotificationConfigAttributes) InternalWithRef(ref terra.Reference) NotificationConfigAttributes
func (NotificationConfigAttributes) SuccessTopic ¶
func (nc NotificationConfigAttributes) SuccessTopic() terra.StringValue
type NotificationConfigState ¶
type OutputConfig ¶
type OutputConfig struct { // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` // S3FailurePath: string, optional S3FailurePath terra.StringValue `hcl:"s3_failure_path,attr"` // S3OutputPath: string, required S3OutputPath terra.StringValue `hcl:"s3_output_path,attr" validate:"required"` // NotificationConfig: optional NotificationConfig *NotificationConfig `hcl:"notification_config,block"` }
type OutputConfigAttributes ¶
type OutputConfigAttributes struct {
// contains filtered or unexported fields
}
func (OutputConfigAttributes) InternalRef ¶
func (oc OutputConfigAttributes) InternalRef() (terra.Reference, error)
func (OutputConfigAttributes) InternalTokens ¶
func (oc OutputConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OutputConfigAttributes) InternalWithRef ¶
func (oc OutputConfigAttributes) InternalWithRef(ref terra.Reference) OutputConfigAttributes
func (OutputConfigAttributes) KmsKeyId ¶
func (oc OutputConfigAttributes) KmsKeyId() terra.StringValue
func (OutputConfigAttributes) NotificationConfig ¶
func (oc OutputConfigAttributes) NotificationConfig() terra.ListValue[NotificationConfigAttributes]
func (OutputConfigAttributes) S3FailurePath ¶
func (oc OutputConfigAttributes) S3FailurePath() terra.StringValue
func (OutputConfigAttributes) S3OutputPath ¶
func (oc OutputConfigAttributes) S3OutputPath() terra.StringValue
type OutputConfigState ¶
type OutputConfigState struct { KmsKeyId string `json:"kms_key_id"` S3FailurePath string `json:"s3_failure_path"` S3OutputPath string `json:"s3_output_path"` NotificationConfig []NotificationConfigState `json:"notification_config"` }
type ProductionVariants ¶
type ProductionVariants struct { // AcceleratorType: string, optional AcceleratorType terra.StringValue `hcl:"accelerator_type,attr"` // ContainerStartupHealthCheckTimeoutInSeconds: number, optional ContainerStartupHealthCheckTimeoutInSeconds terra.NumberValue `hcl:"container_startup_health_check_timeout_in_seconds,attr"` // EnableSsmAccess: bool, optional EnableSsmAccess terra.BoolValue `hcl:"enable_ssm_access,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"` // ModelDataDownloadTimeoutInSeconds: number, optional ModelDataDownloadTimeoutInSeconds terra.NumberValue `hcl:"model_data_download_timeout_in_seconds,attr"` // ModelName: string, required ModelName terra.StringValue `hcl:"model_name,attr" validate:"required"` // VariantName: string, optional VariantName terra.StringValue `hcl:"variant_name,attr"` // VolumeSizeInGb: number, optional VolumeSizeInGb terra.NumberValue `hcl:"volume_size_in_gb,attr"` // ProductionVariantsCoreDumpConfig: optional CoreDumpConfig *ProductionVariantsCoreDumpConfig `hcl:"core_dump_config,block"` // 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) ContainerStartupHealthCheckTimeoutInSeconds ¶
func (pv ProductionVariantsAttributes) ContainerStartupHealthCheckTimeoutInSeconds() terra.NumberValue
func (ProductionVariantsAttributes) CoreDumpConfig ¶
func (pv ProductionVariantsAttributes) CoreDumpConfig() terra.ListValue[ProductionVariantsCoreDumpConfigAttributes]
func (ProductionVariantsAttributes) EnableSsmAccess ¶
func (pv ProductionVariantsAttributes) EnableSsmAccess() terra.BoolValue
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) ModelDataDownloadTimeoutInSeconds ¶
func (pv ProductionVariantsAttributes) ModelDataDownloadTimeoutInSeconds() terra.NumberValue
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
func (ProductionVariantsAttributes) VolumeSizeInGb ¶
func (pv ProductionVariantsAttributes) VolumeSizeInGb() terra.NumberValue
type ProductionVariantsCoreDumpConfig ¶
type ProductionVariantsCoreDumpConfig struct { // DestinationS3Uri: string, required DestinationS3Uri terra.StringValue `hcl:"destination_s3_uri,attr" validate:"required"` // KmsKeyId: string, optional KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"` }
type ProductionVariantsCoreDumpConfigAttributes ¶
type ProductionVariantsCoreDumpConfigAttributes struct {
// contains filtered or unexported fields
}
func (ProductionVariantsCoreDumpConfigAttributes) DestinationS3Uri ¶
func (cdc ProductionVariantsCoreDumpConfigAttributes) DestinationS3Uri() terra.StringValue
func (ProductionVariantsCoreDumpConfigAttributes) InternalRef ¶
func (cdc ProductionVariantsCoreDumpConfigAttributes) InternalRef() (terra.Reference, error)
func (ProductionVariantsCoreDumpConfigAttributes) InternalTokens ¶
func (cdc ProductionVariantsCoreDumpConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ProductionVariantsCoreDumpConfigAttributes) InternalWithRef ¶
func (cdc ProductionVariantsCoreDumpConfigAttributes) InternalWithRef(ref terra.Reference) ProductionVariantsCoreDumpConfigAttributes
func (ProductionVariantsCoreDumpConfigAttributes) KmsKeyId ¶
func (cdc ProductionVariantsCoreDumpConfigAttributes) KmsKeyId() 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"` ContainerStartupHealthCheckTimeoutInSeconds float64 `json:"container_startup_health_check_timeout_in_seconds"` EnableSsmAccess bool `json:"enable_ssm_access"` InitialInstanceCount float64 `json:"initial_instance_count"` InitialVariantWeight float64 `json:"initial_variant_weight"` InstanceType string `json:"instance_type"` ModelDataDownloadTimeoutInSeconds float64 `json:"model_data_download_timeout_in_seconds"` ModelName string `json:"model_name"` VariantName string `json:"variant_name"` VolumeSizeInGb float64 `json:"volume_size_in_gb"` CoreDumpConfig []ProductionVariantsCoreDumpConfigState `json:"core_dump_config"` ServerlessConfig []ProductionVariantsServerlessConfigState `json:"serverless_config"` }
type ShadowProductionVariants ¶
type ShadowProductionVariants struct { // AcceleratorType: string, optional AcceleratorType terra.StringValue `hcl:"accelerator_type,attr"` // ContainerStartupHealthCheckTimeoutInSeconds: number, optional ContainerStartupHealthCheckTimeoutInSeconds terra.NumberValue `hcl:"container_startup_health_check_timeout_in_seconds,attr"` // EnableSsmAccess: bool, optional EnableSsmAccess terra.BoolValue `hcl:"enable_ssm_access,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"` // ModelDataDownloadTimeoutInSeconds: number, optional ModelDataDownloadTimeoutInSeconds terra.NumberValue `hcl:"model_data_download_timeout_in_seconds,attr"` // ModelName: string, required ModelName terra.StringValue `hcl:"model_name,attr" validate:"required"` // VariantName: string, optional VariantName terra.StringValue `hcl:"variant_name,attr"` // VolumeSizeInGb: number, optional VolumeSizeInGb terra.NumberValue `hcl:"volume_size_in_gb,attr"` // ShadowProductionVariantsCoreDumpConfig: optional CoreDumpConfig *ShadowProductionVariantsCoreDumpConfig `hcl:"core_dump_config,block"` // ShadowProductionVariantsServerlessConfig: optional ServerlessConfig *ShadowProductionVariantsServerlessConfig `hcl:"serverless_config,block"` }
type ShadowProductionVariantsAttributes ¶
type ShadowProductionVariantsAttributes struct {
// contains filtered or unexported fields
}
func (ShadowProductionVariantsAttributes) AcceleratorType ¶
func (spv ShadowProductionVariantsAttributes) AcceleratorType() terra.StringValue
func (ShadowProductionVariantsAttributes) ContainerStartupHealthCheckTimeoutInSeconds ¶
func (spv ShadowProductionVariantsAttributes) ContainerStartupHealthCheckTimeoutInSeconds() terra.NumberValue
func (ShadowProductionVariantsAttributes) CoreDumpConfig ¶
func (spv ShadowProductionVariantsAttributes) CoreDumpConfig() terra.ListValue[ShadowProductionVariantsCoreDumpConfigAttributes]
func (ShadowProductionVariantsAttributes) EnableSsmAccess ¶
func (spv ShadowProductionVariantsAttributes) EnableSsmAccess() terra.BoolValue
func (ShadowProductionVariantsAttributes) InitialInstanceCount ¶
func (spv ShadowProductionVariantsAttributes) InitialInstanceCount() terra.NumberValue
func (ShadowProductionVariantsAttributes) InitialVariantWeight ¶
func (spv ShadowProductionVariantsAttributes) InitialVariantWeight() terra.NumberValue
func (ShadowProductionVariantsAttributes) InstanceType ¶
func (spv ShadowProductionVariantsAttributes) InstanceType() terra.StringValue
func (ShadowProductionVariantsAttributes) InternalRef ¶
func (spv ShadowProductionVariantsAttributes) InternalRef() (terra.Reference, error)
func (ShadowProductionVariantsAttributes) InternalTokens ¶
func (spv ShadowProductionVariantsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShadowProductionVariantsAttributes) InternalWithRef ¶
func (spv ShadowProductionVariantsAttributes) InternalWithRef(ref terra.Reference) ShadowProductionVariantsAttributes
func (ShadowProductionVariantsAttributes) ModelDataDownloadTimeoutInSeconds ¶
func (spv ShadowProductionVariantsAttributes) ModelDataDownloadTimeoutInSeconds() terra.NumberValue
func (ShadowProductionVariantsAttributes) ModelName ¶
func (spv ShadowProductionVariantsAttributes) ModelName() terra.StringValue
func (ShadowProductionVariantsAttributes) ServerlessConfig ¶
func (spv ShadowProductionVariantsAttributes) ServerlessConfig() terra.ListValue[ShadowProductionVariantsServerlessConfigAttributes]
func (ShadowProductionVariantsAttributes) VariantName ¶
func (spv ShadowProductionVariantsAttributes) VariantName() terra.StringValue
func (ShadowProductionVariantsAttributes) VolumeSizeInGb ¶
func (spv ShadowProductionVariantsAttributes) VolumeSizeInGb() terra.NumberValue
type ShadowProductionVariantsCoreDumpConfig ¶
type ShadowProductionVariantsCoreDumpConfig struct { // DestinationS3Uri: string, required DestinationS3Uri terra.StringValue `hcl:"destination_s3_uri,attr" validate:"required"` // KmsKeyId: string, required KmsKeyId terra.StringValue `hcl:"kms_key_id,attr" validate:"required"` }
type ShadowProductionVariantsCoreDumpConfigAttributes ¶
type ShadowProductionVariantsCoreDumpConfigAttributes struct {
// contains filtered or unexported fields
}
func (ShadowProductionVariantsCoreDumpConfigAttributes) DestinationS3Uri ¶
func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) DestinationS3Uri() terra.StringValue
func (ShadowProductionVariantsCoreDumpConfigAttributes) InternalRef ¶
func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) InternalRef() (terra.Reference, error)
func (ShadowProductionVariantsCoreDumpConfigAttributes) InternalTokens ¶
func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShadowProductionVariantsCoreDumpConfigAttributes) InternalWithRef ¶
func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) InternalWithRef(ref terra.Reference) ShadowProductionVariantsCoreDumpConfigAttributes
func (ShadowProductionVariantsCoreDumpConfigAttributes) KmsKeyId ¶
func (cdc ShadowProductionVariantsCoreDumpConfigAttributes) KmsKeyId() terra.StringValue
type ShadowProductionVariantsServerlessConfig ¶
type ShadowProductionVariantsServerlessConfig 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 ShadowProductionVariantsServerlessConfigAttributes ¶
type ShadowProductionVariantsServerlessConfigAttributes struct {
// contains filtered or unexported fields
}
func (ShadowProductionVariantsServerlessConfigAttributes) InternalRef ¶
func (sc ShadowProductionVariantsServerlessConfigAttributes) InternalRef() (terra.Reference, error)
func (ShadowProductionVariantsServerlessConfigAttributes) InternalTokens ¶
func (sc ShadowProductionVariantsServerlessConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ShadowProductionVariantsServerlessConfigAttributes) InternalWithRef ¶
func (sc ShadowProductionVariantsServerlessConfigAttributes) InternalWithRef(ref terra.Reference) ShadowProductionVariantsServerlessConfigAttributes
func (ShadowProductionVariantsServerlessConfigAttributes) MaxConcurrency ¶
func (sc ShadowProductionVariantsServerlessConfigAttributes) MaxConcurrency() terra.NumberValue
func (ShadowProductionVariantsServerlessConfigAttributes) MemorySizeInMb ¶
func (sc ShadowProductionVariantsServerlessConfigAttributes) MemorySizeInMb() terra.NumberValue
type ShadowProductionVariantsState ¶
type ShadowProductionVariantsState struct { AcceleratorType string `json:"accelerator_type"` ContainerStartupHealthCheckTimeoutInSeconds float64 `json:"container_startup_health_check_timeout_in_seconds"` EnableSsmAccess bool `json:"enable_ssm_access"` InitialInstanceCount float64 `json:"initial_instance_count"` InitialVariantWeight float64 `json:"initial_variant_weight"` InstanceType string `json:"instance_type"` ModelDataDownloadTimeoutInSeconds float64 `json:"model_data_download_timeout_in_seconds"` ModelName string `json:"model_name"` VariantName string `json:"variant_name"` VolumeSizeInGb float64 `json:"volume_size_in_gb"` CoreDumpConfig []ShadowProductionVariantsCoreDumpConfigState `json:"core_dump_config"` ServerlessConfig []ShadowProductionVariantsServerlessConfigState `json:"serverless_config"` }
Click to show internal directories.
Click to hide internal directories.