aws_comprehend_entity_recognizer

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 {
	// DataAccessRoleArn: string, required
	DataAccessRoleArn terra.StringValue `hcl:"data_access_role_arn,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// LanguageCode: string, required
	LanguageCode terra.StringValue `hcl:"language_code,attr" validate:"required"`
	// ModelKmsKeyId: string, optional
	ModelKmsKeyId terra.StringValue `hcl:"model_kms_key_id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,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"`
	// VersionName: string, optional
	VersionName terra.StringValue `hcl:"version_name,attr"`
	// VersionNamePrefix: string, optional
	VersionNamePrefix terra.StringValue `hcl:"version_name_prefix,attr"`
	// VolumeKmsKeyId: string, optional
	VolumeKmsKeyId terra.StringValue `hcl:"volume_kms_key_id,attr"`
	// InputDataConfig: required
	InputDataConfig *InputDataConfig `hcl:"input_data_config,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// VpcConfig: optional
	VpcConfig *VpcConfig `hcl:"vpc_config,block"`
}

Args contains the configurations for aws_comprehend_entity_recognizer.

type InputDataConfig

type InputDataConfig struct {
	// DataFormat: string, optional
	DataFormat terra.StringValue `hcl:"data_format,attr"`
	// InputDataConfigAnnotations: optional
	Annotations *InputDataConfigAnnotations `hcl:"annotations,block"`
	// InputDataConfigAugmentedManifests: min=0
	AugmentedManifests []InputDataConfigAugmentedManifests `hcl:"augmented_manifests,block" validate:"min=0"`
	// InputDataConfigDocuments: optional
	Documents *InputDataConfigDocuments `hcl:"documents,block"`
	// InputDataConfigEntityList: optional
	EntityList *InputDataConfigEntityList `hcl:"entity_list,block"`
	// InputDataConfigEntityTypes: min=1,max=25
	EntityTypes []InputDataConfigEntityTypes `hcl:"entity_types,block" validate:"min=1,max=25"`
}

type InputDataConfigAnnotations

type InputDataConfigAnnotations struct {
	// S3Uri: string, required
	S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"`
	// TestS3Uri: string, optional
	TestS3Uri terra.StringValue `hcl:"test_s3_uri,attr"`
}

type InputDataConfigAnnotationsAttributes

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

func (InputDataConfigAnnotationsAttributes) InternalRef

func (InputDataConfigAnnotationsAttributes) InternalTokens

func (InputDataConfigAnnotationsAttributes) InternalWithRef

func (InputDataConfigAnnotationsAttributes) S3Uri

func (InputDataConfigAnnotationsAttributes) TestS3Uri

type InputDataConfigAnnotationsState

type InputDataConfigAnnotationsState struct {
	S3Uri     string `json:"s3_uri"`
	TestS3Uri string `json:"test_s3_uri"`
}

type InputDataConfigAttributes

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

func (InputDataConfigAttributes) Annotations

func (InputDataConfigAttributes) AugmentedManifests

func (InputDataConfigAttributes) DataFormat

func (idc InputDataConfigAttributes) DataFormat() terra.StringValue

func (InputDataConfigAttributes) Documents

func (InputDataConfigAttributes) EntityList

func (InputDataConfigAttributes) EntityTypes

func (InputDataConfigAttributes) InternalRef

func (idc InputDataConfigAttributes) InternalRef() (terra.Reference, error)

func (InputDataConfigAttributes) InternalTokens

func (idc InputDataConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InputDataConfigAttributes) InternalWithRef

type InputDataConfigAugmentedManifests

type InputDataConfigAugmentedManifests struct {
	// AnnotationDataS3Uri: string, optional
	AnnotationDataS3Uri terra.StringValue `hcl:"annotation_data_s3_uri,attr"`
	// AttributeNames: list of string, required
	AttributeNames terra.ListValue[terra.StringValue] `hcl:"attribute_names,attr" validate:"required"`
	// DocumentType: string, optional
	DocumentType terra.StringValue `hcl:"document_type,attr"`
	// S3Uri: string, required
	S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"`
	// SourceDocumentsS3Uri: string, optional
	SourceDocumentsS3Uri terra.StringValue `hcl:"source_documents_s3_uri,attr"`
	// Split: string, optional
	Split terra.StringValue `hcl:"split,attr"`
}

type InputDataConfigAugmentedManifestsAttributes

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

func (InputDataConfigAugmentedManifestsAttributes) AnnotationDataS3Uri

func (InputDataConfigAugmentedManifestsAttributes) AttributeNames

func (InputDataConfigAugmentedManifestsAttributes) DocumentType

func (InputDataConfigAugmentedManifestsAttributes) InternalRef

func (InputDataConfigAugmentedManifestsAttributes) InternalTokens

func (InputDataConfigAugmentedManifestsAttributes) InternalWithRef

func (InputDataConfigAugmentedManifestsAttributes) S3Uri

func (InputDataConfigAugmentedManifestsAttributes) SourceDocumentsS3Uri

func (InputDataConfigAugmentedManifestsAttributes) Split

type InputDataConfigAugmentedManifestsState

type InputDataConfigAugmentedManifestsState struct {
	AnnotationDataS3Uri  string   `json:"annotation_data_s3_uri"`
	AttributeNames       []string `json:"attribute_names"`
	DocumentType         string   `json:"document_type"`
	S3Uri                string   `json:"s3_uri"`
	SourceDocumentsS3Uri string   `json:"source_documents_s3_uri"`
	Split                string   `json:"split"`
}

type InputDataConfigDocuments

type InputDataConfigDocuments struct {
	// InputFormat: string, optional
	InputFormat terra.StringValue `hcl:"input_format,attr"`
	// S3Uri: string, required
	S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"`
	// TestS3Uri: string, optional
	TestS3Uri terra.StringValue `hcl:"test_s3_uri,attr"`
}

type InputDataConfigDocumentsAttributes

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

func (InputDataConfigDocumentsAttributes) InputFormat

func (InputDataConfigDocumentsAttributes) InternalRef

func (InputDataConfigDocumentsAttributes) InternalTokens

func (InputDataConfigDocumentsAttributes) InternalWithRef

func (InputDataConfigDocumentsAttributes) S3Uri

func (InputDataConfigDocumentsAttributes) TestS3Uri

type InputDataConfigDocumentsState

type InputDataConfigDocumentsState struct {
	InputFormat string `json:"input_format"`
	S3Uri       string `json:"s3_uri"`
	TestS3Uri   string `json:"test_s3_uri"`
}

type InputDataConfigEntityList

type InputDataConfigEntityList struct {
	// S3Uri: string, required
	S3Uri terra.StringValue `hcl:"s3_uri,attr" validate:"required"`
}

type InputDataConfigEntityListAttributes

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

func (InputDataConfigEntityListAttributes) InternalRef

func (InputDataConfigEntityListAttributes) InternalTokens

func (InputDataConfigEntityListAttributes) InternalWithRef

func (InputDataConfigEntityListAttributes) S3Uri

type InputDataConfigEntityListState

type InputDataConfigEntityListState struct {
	S3Uri string `json:"s3_uri"`
}

type InputDataConfigEntityTypes

type InputDataConfigEntityTypes struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
}

type InputDataConfigEntityTypesAttributes

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

func (InputDataConfigEntityTypesAttributes) InternalRef

func (InputDataConfigEntityTypesAttributes) InternalTokens

func (InputDataConfigEntityTypesAttributes) InternalWithRef

func (InputDataConfigEntityTypesAttributes) Type

type InputDataConfigEntityTypesState

type InputDataConfigEntityTypesState struct {
	Type string `json:"type"`
}

type InputDataConfigState

type InputDataConfigState struct {
	DataFormat         string                                   `json:"data_format"`
	Annotations        []InputDataConfigAnnotationsState        `json:"annotations"`
	AugmentedManifests []InputDataConfigAugmentedManifestsState `json:"augmented_manifests"`
	Documents          []InputDataConfigDocumentsState          `json:"documents"`
	EntityList         []InputDataConfigEntityListState         `json:"entity_list"`
	EntityTypes        []InputDataConfigEntityTypesState        `json:"entity_types"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (acer *Resource) Attributes() awsComprehendEntityRecognizerAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (acer *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (acer *Resource) State() (*awsComprehendEntityRecognizerState, bool)

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

func (*Resource) StateMust

func (acer *Resource) StateMust() *awsComprehendEntityRecognizerState

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

func (*Resource) Type

func (acer *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

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

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

type VpcConfig

type VpcConfig struct {
	// SecurityGroupIds: set of string, required
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr" validate:"required"`
	// Subnets: set of string, required
	Subnets terra.SetValue[terra.StringValue] `hcl:"subnets,attr" validate:"required"`
}

type VpcConfigAttributes

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

func (VpcConfigAttributes) InternalRef

func (vc VpcConfigAttributes) InternalRef() (terra.Reference, error)

func (VpcConfigAttributes) InternalTokens

func (vc VpcConfigAttributes) InternalTokens() (hclwrite.Tokens, error)

func (VpcConfigAttributes) InternalWithRef

func (vc VpcConfigAttributes) InternalWithRef(ref terra.Reference) VpcConfigAttributes

func (VpcConfigAttributes) SecurityGroupIds

func (vc VpcConfigAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (VpcConfigAttributes) Subnets

type VpcConfigState

type VpcConfigState struct {
	SecurityGroupIds []string `json:"security_group_ids"`
	Subnets          []string `json:"subnets"`
}

Jump to

Keyboard shortcuts

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