aws_sagemaker_flow_definition

package
v5.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// FlowDefinitionName: string, required
	FlowDefinitionName terra.StringValue `hcl:"flow_definition_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// 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"`
	// HumanLoopActivationConfig: optional
	HumanLoopActivationConfig *HumanLoopActivationConfig `hcl:"human_loop_activation_config,block"`
	// HumanLoopConfig: required
	HumanLoopConfig *HumanLoopConfig `hcl:"human_loop_config,block" validate:"required"`
	// HumanLoopRequestSource: optional
	HumanLoopRequestSource *HumanLoopRequestSource `hcl:"human_loop_request_source,block"`
	// OutputConfig: required
	OutputConfig *OutputConfig `hcl:"output_config,block" validate:"required"`
}

Args contains the configurations for aws_sagemaker_flow_definition.

type HumanLoopActivationConfig

type HumanLoopActivationConfig struct {
	// HumanLoopActivationConfigHumanLoopActivationConditionsConfig: optional
	HumanLoopActivationConditionsConfig *HumanLoopActivationConfigHumanLoopActivationConditionsConfig `hcl:"human_loop_activation_conditions_config,block"`
}

type HumanLoopActivationConfigAttributes

type HumanLoopActivationConfigAttributes struct {
	// contains filtered or unexported fields
}

func (HumanLoopActivationConfigAttributes) InternalRef

func (HumanLoopActivationConfigAttributes) InternalTokens

func (hlac HumanLoopActivationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HumanLoopActivationConfigAttributes) InternalWithRef

type HumanLoopActivationConfigHumanLoopActivationConditionsConfig

type HumanLoopActivationConfigHumanLoopActivationConditionsConfig struct {
	// HumanLoopActivationConditions: string, required
	HumanLoopActivationConditions terra.StringValue `hcl:"human_loop_activation_conditions,attr" validate:"required"`
}

type HumanLoopActivationConfigHumanLoopActivationConditionsConfigAttributes

type HumanLoopActivationConfigHumanLoopActivationConditionsConfigAttributes struct {
	// contains filtered or unexported fields
}

func (HumanLoopActivationConfigHumanLoopActivationConditionsConfigAttributes) HumanLoopActivationConditions

func (HumanLoopActivationConfigHumanLoopActivationConditionsConfigAttributes) InternalRef

func (HumanLoopActivationConfigHumanLoopActivationConditionsConfigAttributes) InternalTokens

func (HumanLoopActivationConfigHumanLoopActivationConditionsConfigAttributes) InternalWithRef

type HumanLoopActivationConfigHumanLoopActivationConditionsConfigState

type HumanLoopActivationConfigHumanLoopActivationConditionsConfigState struct {
	HumanLoopActivationConditions string `json:"human_loop_activation_conditions"`
}

type HumanLoopActivationConfigState

type HumanLoopActivationConfigState struct {
	HumanLoopActivationConditionsConfig []HumanLoopActivationConfigHumanLoopActivationConditionsConfigState `json:"human_loop_activation_conditions_config"`
}

type HumanLoopConfig

type HumanLoopConfig struct {
	// HumanTaskUiArn: string, required
	HumanTaskUiArn terra.StringValue `hcl:"human_task_ui_arn,attr" validate:"required"`
	// TaskAvailabilityLifetimeInSeconds: number, optional
	TaskAvailabilityLifetimeInSeconds terra.NumberValue `hcl:"task_availability_lifetime_in_seconds,attr"`
	// TaskCount: number, required
	TaskCount terra.NumberValue `hcl:"task_count,attr" validate:"required"`
	// TaskDescription: string, required
	TaskDescription terra.StringValue `hcl:"task_description,attr" validate:"required"`
	// TaskKeywords: set of string, optional
	TaskKeywords terra.SetValue[terra.StringValue] `hcl:"task_keywords,attr"`
	// TaskTimeLimitInSeconds: number, optional
	TaskTimeLimitInSeconds terra.NumberValue `hcl:"task_time_limit_in_seconds,attr"`
	// TaskTitle: string, required
	TaskTitle terra.StringValue `hcl:"task_title,attr" validate:"required"`
	// WorkteamArn: string, required
	WorkteamArn terra.StringValue `hcl:"workteam_arn,attr" validate:"required"`
	// HumanLoopConfigPublicWorkforceTaskPrice: optional
	PublicWorkforceTaskPrice *HumanLoopConfigPublicWorkforceTaskPrice `hcl:"public_workforce_task_price,block"`
}

type HumanLoopConfigAttributes

type HumanLoopConfigAttributes struct {
	// contains filtered or unexported fields
}

func (HumanLoopConfigAttributes) HumanTaskUiArn

func (hlc HumanLoopConfigAttributes) HumanTaskUiArn() terra.StringValue

func (HumanLoopConfigAttributes) InternalRef

func (hlc HumanLoopConfigAttributes) InternalRef() (terra.Reference, error)

func (HumanLoopConfigAttributes) InternalTokens

func (hlc HumanLoopConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HumanLoopConfigAttributes) InternalWithRef

func (HumanLoopConfigAttributes) PublicWorkforceTaskPrice

func (HumanLoopConfigAttributes) TaskAvailabilityLifetimeInSeconds

func (hlc HumanLoopConfigAttributes) TaskAvailabilityLifetimeInSeconds() terra.NumberValue

func (HumanLoopConfigAttributes) TaskCount

func (HumanLoopConfigAttributes) TaskDescription

func (hlc HumanLoopConfigAttributes) TaskDescription() terra.StringValue

func (HumanLoopConfigAttributes) TaskKeywords

func (HumanLoopConfigAttributes) TaskTimeLimitInSeconds

func (hlc HumanLoopConfigAttributes) TaskTimeLimitInSeconds() terra.NumberValue

func (HumanLoopConfigAttributes) TaskTitle

func (HumanLoopConfigAttributes) WorkteamArn

func (hlc HumanLoopConfigAttributes) WorkteamArn() terra.StringValue

type HumanLoopConfigPublicWorkforceTaskPrice

type HumanLoopConfigPublicWorkforceTaskPrice struct {
	// HumanLoopConfigPublicWorkforceTaskPriceAmountInUsd: optional
	AmountInUsd *HumanLoopConfigPublicWorkforceTaskPriceAmountInUsd `hcl:"amount_in_usd,block"`
}

type HumanLoopConfigPublicWorkforceTaskPriceAmountInUsd

type HumanLoopConfigPublicWorkforceTaskPriceAmountInUsd struct {
	// Cents: number, optional
	Cents terra.NumberValue `hcl:"cents,attr"`
	// Dollars: number, optional
	Dollars terra.NumberValue `hcl:"dollars,attr"`
	// TenthFractionsOfACent: number, optional
	TenthFractionsOfACent terra.NumberValue `hcl:"tenth_fractions_of_a_cent,attr"`
}

type HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdAttributes

type HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdAttributes struct {
	// contains filtered or unexported fields
}

func (HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdAttributes) Cents

func (HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdAttributes) Dollars

func (HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdAttributes) InternalRef

func (HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdAttributes) InternalTokens

func (HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdAttributes) InternalWithRef

func (HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdAttributes) TenthFractionsOfACent

type HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdState

type HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdState struct {
	Cents                 float64 `json:"cents"`
	Dollars               float64 `json:"dollars"`
	TenthFractionsOfACent float64 `json:"tenth_fractions_of_a_cent"`
}

type HumanLoopConfigPublicWorkforceTaskPriceAttributes

type HumanLoopConfigPublicWorkforceTaskPriceAttributes struct {
	// contains filtered or unexported fields
}

func (HumanLoopConfigPublicWorkforceTaskPriceAttributes) AmountInUsd

func (HumanLoopConfigPublicWorkforceTaskPriceAttributes) InternalRef

func (HumanLoopConfigPublicWorkforceTaskPriceAttributes) InternalTokens

func (HumanLoopConfigPublicWorkforceTaskPriceAttributes) InternalWithRef

type HumanLoopConfigPublicWorkforceTaskPriceState

type HumanLoopConfigPublicWorkforceTaskPriceState struct {
	AmountInUsd []HumanLoopConfigPublicWorkforceTaskPriceAmountInUsdState `json:"amount_in_usd"`
}

type HumanLoopConfigState

type HumanLoopConfigState struct {
	HumanTaskUiArn                    string                                         `json:"human_task_ui_arn"`
	TaskAvailabilityLifetimeInSeconds float64                                        `json:"task_availability_lifetime_in_seconds"`
	TaskCount                         float64                                        `json:"task_count"`
	TaskDescription                   string                                         `json:"task_description"`
	TaskKeywords                      []string                                       `json:"task_keywords"`
	TaskTimeLimitInSeconds            float64                                        `json:"task_time_limit_in_seconds"`
	TaskTitle                         string                                         `json:"task_title"`
	WorkteamArn                       string                                         `json:"workteam_arn"`
	PublicWorkforceTaskPrice          []HumanLoopConfigPublicWorkforceTaskPriceState `json:"public_workforce_task_price"`
}

type HumanLoopRequestSource

type HumanLoopRequestSource struct {
	// AwsManagedHumanLoopRequestSource: string, required
	AwsManagedHumanLoopRequestSource terra.StringValue `hcl:"aws_managed_human_loop_request_source,attr" validate:"required"`
}

type HumanLoopRequestSourceAttributes

type HumanLoopRequestSourceAttributes struct {
	// contains filtered or unexported fields
}

func (HumanLoopRequestSourceAttributes) AwsManagedHumanLoopRequestSource

func (hlrs HumanLoopRequestSourceAttributes) AwsManagedHumanLoopRequestSource() terra.StringValue

func (HumanLoopRequestSourceAttributes) InternalRef

func (hlrs HumanLoopRequestSourceAttributes) InternalRef() (terra.Reference, error)

func (HumanLoopRequestSourceAttributes) InternalTokens

func (hlrs HumanLoopRequestSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (HumanLoopRequestSourceAttributes) InternalWithRef

type HumanLoopRequestSourceState

type HumanLoopRequestSourceState struct {
	AwsManagedHumanLoopRequestSource string `json:"aws_managed_human_loop_request_source"`
}

type OutputConfig

type OutputConfig 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"`
}

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 (OutputConfigAttributes) KmsKeyId

func (OutputConfigAttributes) S3OutputPath

func (oc OutputConfigAttributes) S3OutputPath() terra.StringValue

type OutputConfigState

type OutputConfigState struct {
	KmsKeyId     string `json:"kms_key_id"`
	S3OutputPath string `json:"s3_output_path"`
}

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_flow_definition.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (asfd *Resource) Attributes() awsSagemakerFlowDefinitionAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (asfd *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (asfd *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (asfd *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (asfd *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (asfd *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (asfd *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (asfd *Resource) State() (*awsSagemakerFlowDefinitionState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (asfd *Resource) StateMust() *awsSagemakerFlowDefinitionState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (asfd *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL