aws_kendra_data_source

package
v0.0.0-...-4deecce 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 {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IndexId: string, required
	IndexId terra.StringValue `hcl:"index_id,attr" validate:"required"`
	// LanguageCode: string, optional
	LanguageCode terra.StringValue `hcl:"language_code,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RoleArn: string, optional
	RoleArn terra.StringValue `hcl:"role_arn,attr"`
	// Schedule: string, optional
	Schedule terra.StringValue `hcl:"schedule,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"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Configuration: optional
	Configuration *Configuration `hcl:"configuration,block"`
	// CustomDocumentEnrichmentConfiguration: optional
	CustomDocumentEnrichmentConfiguration *CustomDocumentEnrichmentConfiguration `hcl:"custom_document_enrichment_configuration,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_kendra_data_source.

type Configuration

type Configuration struct {
	// ConfigurationS3Configuration: optional
	S3Configuration *ConfigurationS3Configuration `hcl:"s3_configuration,block"`
	// ConfigurationWebCrawlerConfiguration: optional
	WebCrawlerConfiguration *ConfigurationWebCrawlerConfiguration `hcl:"web_crawler_configuration,block"`
}

type ConfigurationAttributes

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

func (ConfigurationAttributes) InternalRef

func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)

func (ConfigurationAttributes) InternalTokens

func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigurationAttributes) InternalWithRef

func (ConfigurationAttributes) S3Configuration

func (ConfigurationAttributes) WebCrawlerConfiguration

type ConfigurationS3Configuration

type ConfigurationS3Configuration struct {
	// BucketName: string, required
	BucketName terra.StringValue `hcl:"bucket_name,attr" validate:"required"`
	// ExclusionPatterns: set of string, optional
	ExclusionPatterns terra.SetValue[terra.StringValue] `hcl:"exclusion_patterns,attr"`
	// InclusionPatterns: set of string, optional
	InclusionPatterns terra.SetValue[terra.StringValue] `hcl:"inclusion_patterns,attr"`
	// InclusionPrefixes: set of string, optional
	InclusionPrefixes terra.SetValue[terra.StringValue] `hcl:"inclusion_prefixes,attr"`
	// ConfigurationS3ConfigurationAccessControlListConfiguration: optional
	AccessControlListConfiguration *ConfigurationS3ConfigurationAccessControlListConfiguration `hcl:"access_control_list_configuration,block"`
	// ConfigurationS3ConfigurationDocumentsMetadataConfiguration: optional
	DocumentsMetadataConfiguration *ConfigurationS3ConfigurationDocumentsMetadataConfiguration `hcl:"documents_metadata_configuration,block"`
}

type ConfigurationS3ConfigurationAccessControlListConfiguration

type ConfigurationS3ConfigurationAccessControlListConfiguration struct {
	// KeyPath: string, optional
	KeyPath terra.StringValue `hcl:"key_path,attr"`
}

type ConfigurationS3ConfigurationAccessControlListConfigurationAttributes

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

func (ConfigurationS3ConfigurationAccessControlListConfigurationAttributes) InternalRef

func (ConfigurationS3ConfigurationAccessControlListConfigurationAttributes) InternalTokens

func (ConfigurationS3ConfigurationAccessControlListConfigurationAttributes) InternalWithRef

func (ConfigurationS3ConfigurationAccessControlListConfigurationAttributes) KeyPath

type ConfigurationS3ConfigurationAccessControlListConfigurationState

type ConfigurationS3ConfigurationAccessControlListConfigurationState struct {
	KeyPath string `json:"key_path"`
}

type ConfigurationS3ConfigurationAttributes

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

func (ConfigurationS3ConfigurationAttributes) BucketName

func (ConfigurationS3ConfigurationAttributes) ExclusionPatterns

func (ConfigurationS3ConfigurationAttributes) InclusionPatterns

func (ConfigurationS3ConfigurationAttributes) InclusionPrefixes

func (ConfigurationS3ConfigurationAttributes) InternalRef

func (ConfigurationS3ConfigurationAttributes) InternalTokens

func (ConfigurationS3ConfigurationAttributes) InternalWithRef

type ConfigurationS3ConfigurationDocumentsMetadataConfiguration

type ConfigurationS3ConfigurationDocumentsMetadataConfiguration struct {
	// S3Prefix: string, optional
	S3Prefix terra.StringValue `hcl:"s3_prefix,attr"`
}

type ConfigurationS3ConfigurationDocumentsMetadataConfigurationAttributes

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

func (ConfigurationS3ConfigurationDocumentsMetadataConfigurationAttributes) InternalRef

func (ConfigurationS3ConfigurationDocumentsMetadataConfigurationAttributes) InternalTokens

func (ConfigurationS3ConfigurationDocumentsMetadataConfigurationAttributes) InternalWithRef

func (ConfigurationS3ConfigurationDocumentsMetadataConfigurationAttributes) S3Prefix

type ConfigurationS3ConfigurationDocumentsMetadataConfigurationState

type ConfigurationS3ConfigurationDocumentsMetadataConfigurationState struct {
	S3Prefix string `json:"s3_prefix"`
}

type ConfigurationS3ConfigurationState

type ConfigurationS3ConfigurationState struct {
	BucketName                     string                                                            `json:"bucket_name"`
	ExclusionPatterns              []string                                                          `json:"exclusion_patterns"`
	InclusionPatterns              []string                                                          `json:"inclusion_patterns"`
	InclusionPrefixes              []string                                                          `json:"inclusion_prefixes"`
	AccessControlListConfiguration []ConfigurationS3ConfigurationAccessControlListConfigurationState `json:"access_control_list_configuration"`
	DocumentsMetadataConfiguration []ConfigurationS3ConfigurationDocumentsMetadataConfigurationState `json:"documents_metadata_configuration"`
}

type ConfigurationState

type ConfigurationState struct {
	S3Configuration         []ConfigurationS3ConfigurationState         `json:"s3_configuration"`
	WebCrawlerConfiguration []ConfigurationWebCrawlerConfigurationState `json:"web_crawler_configuration"`
}

type ConfigurationWebCrawlerConfiguration

type ConfigurationWebCrawlerConfiguration struct {
	// CrawlDepth: number, optional
	CrawlDepth terra.NumberValue `hcl:"crawl_depth,attr"`
	// MaxContentSizePerPageInMegaBytes: number, optional
	MaxContentSizePerPageInMegaBytes terra.NumberValue `hcl:"max_content_size_per_page_in_mega_bytes,attr"`
	// MaxLinksPerPage: number, optional
	MaxLinksPerPage terra.NumberValue `hcl:"max_links_per_page,attr"`
	// MaxUrlsPerMinuteCrawlRate: number, optional
	MaxUrlsPerMinuteCrawlRate terra.NumberValue `hcl:"max_urls_per_minute_crawl_rate,attr"`
	// UrlExclusionPatterns: set of string, optional
	UrlExclusionPatterns terra.SetValue[terra.StringValue] `hcl:"url_exclusion_patterns,attr"`
	// UrlInclusionPatterns: set of string, optional
	UrlInclusionPatterns terra.SetValue[terra.StringValue] `hcl:"url_inclusion_patterns,attr"`
	// ConfigurationWebCrawlerConfigurationAuthenticationConfiguration: optional
	AuthenticationConfiguration *ConfigurationWebCrawlerConfigurationAuthenticationConfiguration `hcl:"authentication_configuration,block"`
	// ConfigurationWebCrawlerConfigurationProxyConfiguration: optional
	ProxyConfiguration *ConfigurationWebCrawlerConfigurationProxyConfiguration `hcl:"proxy_configuration,block"`
	// ConfigurationWebCrawlerConfigurationUrls: required
	Urls *ConfigurationWebCrawlerConfigurationUrls `hcl:"urls,block" validate:"required"`
}

type ConfigurationWebCrawlerConfigurationAttributes

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

func (ConfigurationWebCrawlerConfigurationAttributes) CrawlDepth

func (ConfigurationWebCrawlerConfigurationAttributes) InternalRef

func (ConfigurationWebCrawlerConfigurationAttributes) InternalTokens

func (ConfigurationWebCrawlerConfigurationAttributes) InternalWithRef

func (ConfigurationWebCrawlerConfigurationAttributes) MaxContentSizePerPageInMegaBytes

func (wcc ConfigurationWebCrawlerConfigurationAttributes) MaxContentSizePerPageInMegaBytes() terra.NumberValue

func (ConfigurationWebCrawlerConfigurationAttributes) MaxLinksPerPage

func (ConfigurationWebCrawlerConfigurationAttributes) MaxUrlsPerMinuteCrawlRate

func (wcc ConfigurationWebCrawlerConfigurationAttributes) MaxUrlsPerMinuteCrawlRate() terra.NumberValue

func (ConfigurationWebCrawlerConfigurationAttributes) UrlExclusionPatterns

func (ConfigurationWebCrawlerConfigurationAttributes) UrlInclusionPatterns

func (ConfigurationWebCrawlerConfigurationAttributes) Urls

type ConfigurationWebCrawlerConfigurationAuthenticationConfiguration

type ConfigurationWebCrawlerConfigurationAuthenticationConfiguration struct {
	// ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthentication: min=0,max=10
	BasicAuthentication []ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthentication `hcl:"basic_authentication,block" validate:"min=0,max=10"`
}

type ConfigurationWebCrawlerConfigurationAuthenticationConfigurationAttributes

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

func (ConfigurationWebCrawlerConfigurationAuthenticationConfigurationAttributes) InternalRef

func (ConfigurationWebCrawlerConfigurationAuthenticationConfigurationAttributes) InternalTokens

func (ConfigurationWebCrawlerConfigurationAuthenticationConfigurationAttributes) InternalWithRef

type ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthentication

type ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthentication struct {
	// Credentials: string, required
	Credentials terra.StringValue `hcl:"credentials,attr" validate:"required"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
}

type ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationAttributes

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

func (ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationAttributes) Credentials

func (ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationAttributes) Host

func (ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationAttributes) InternalRef

func (ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationAttributes) InternalTokens

func (ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationAttributes) Port

type ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationState

type ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationState struct {
	Credentials string  `json:"credentials"`
	Host        string  `json:"host"`
	Port        float64 `json:"port"`
}

type ConfigurationWebCrawlerConfigurationAuthenticationConfigurationState

type ConfigurationWebCrawlerConfigurationAuthenticationConfigurationState struct {
	BasicAuthentication []ConfigurationWebCrawlerConfigurationAuthenticationConfigurationBasicAuthenticationState `json:"basic_authentication"`
}

type ConfigurationWebCrawlerConfigurationProxyConfiguration

type ConfigurationWebCrawlerConfigurationProxyConfiguration struct {
	// Credentials: string, optional
	Credentials terra.StringValue `hcl:"credentials,attr"`
	// Host: string, required
	Host terra.StringValue `hcl:"host,attr" validate:"required"`
	// Port: number, required
	Port terra.NumberValue `hcl:"port,attr" validate:"required"`
}

type ConfigurationWebCrawlerConfigurationProxyConfigurationAttributes

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

func (ConfigurationWebCrawlerConfigurationProxyConfigurationAttributes) Credentials

func (ConfigurationWebCrawlerConfigurationProxyConfigurationAttributes) Host

func (ConfigurationWebCrawlerConfigurationProxyConfigurationAttributes) InternalRef

func (ConfigurationWebCrawlerConfigurationProxyConfigurationAttributes) InternalTokens

func (ConfigurationWebCrawlerConfigurationProxyConfigurationAttributes) InternalWithRef

func (ConfigurationWebCrawlerConfigurationProxyConfigurationAttributes) Port

type ConfigurationWebCrawlerConfigurationProxyConfigurationState

type ConfigurationWebCrawlerConfigurationProxyConfigurationState struct {
	Credentials string  `json:"credentials"`
	Host        string  `json:"host"`
	Port        float64 `json:"port"`
}

type ConfigurationWebCrawlerConfigurationState

type ConfigurationWebCrawlerConfigurationState struct {
	CrawlDepth                       float64                                                                `json:"crawl_depth"`
	MaxContentSizePerPageInMegaBytes float64                                                                `json:"max_content_size_per_page_in_mega_bytes"`
	MaxLinksPerPage                  float64                                                                `json:"max_links_per_page"`
	MaxUrlsPerMinuteCrawlRate        float64                                                                `json:"max_urls_per_minute_crawl_rate"`
	UrlExclusionPatterns             []string                                                               `json:"url_exclusion_patterns"`
	UrlInclusionPatterns             []string                                                               `json:"url_inclusion_patterns"`
	AuthenticationConfiguration      []ConfigurationWebCrawlerConfigurationAuthenticationConfigurationState `json:"authentication_configuration"`
	ProxyConfiguration               []ConfigurationWebCrawlerConfigurationProxyConfigurationState          `json:"proxy_configuration"`
	Urls                             []ConfigurationWebCrawlerConfigurationUrlsState                        `json:"urls"`
}

type ConfigurationWebCrawlerConfigurationUrls

type ConfigurationWebCrawlerConfigurationUrls struct {
	// ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfiguration: optional
	SeedUrlConfiguration *ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfiguration `hcl:"seed_url_configuration,block"`
	// ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfiguration: optional
	SiteMapsConfiguration *ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfiguration `hcl:"site_maps_configuration,block"`
}

type ConfigurationWebCrawlerConfigurationUrlsAttributes

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

func (ConfigurationWebCrawlerConfigurationUrlsAttributes) InternalRef

func (ConfigurationWebCrawlerConfigurationUrlsAttributes) InternalTokens

func (ConfigurationWebCrawlerConfigurationUrlsAttributes) InternalWithRef

type ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfiguration

type ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfiguration struct {
	// SeedUrls: set of string, required
	SeedUrls terra.SetValue[terra.StringValue] `hcl:"seed_urls,attr" validate:"required"`
	// WebCrawlerMode: string, optional
	WebCrawlerMode terra.StringValue `hcl:"web_crawler_mode,attr"`
}

type ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationAttributes

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

func (ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationAttributes) InternalRef

func (ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationAttributes) InternalTokens

func (ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationAttributes) InternalWithRef

func (ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationAttributes) SeedUrls

func (ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationAttributes) WebCrawlerMode

type ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationState

type ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationState struct {
	SeedUrls       []string `json:"seed_urls"`
	WebCrawlerMode string   `json:"web_crawler_mode"`
}

type ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfiguration

type ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfiguration struct {
	// SiteMaps: set of string, required
	SiteMaps terra.SetValue[terra.StringValue] `hcl:"site_maps,attr" validate:"required"`
}

type ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfigurationAttributes

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

func (ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfigurationAttributes) InternalRef

func (ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfigurationAttributes) InternalTokens

func (ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfigurationAttributes) InternalWithRef

func (ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfigurationAttributes) SiteMaps

type ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfigurationState

type ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfigurationState struct {
	SiteMaps []string `json:"site_maps"`
}

type ConfigurationWebCrawlerConfigurationUrlsState

type ConfigurationWebCrawlerConfigurationUrlsState struct {
	SeedUrlConfiguration  []ConfigurationWebCrawlerConfigurationUrlsSeedUrlConfigurationState  `json:"seed_url_configuration"`
	SiteMapsConfiguration []ConfigurationWebCrawlerConfigurationUrlsSiteMapsConfigurationState `json:"site_maps_configuration"`
}

type CustomDocumentEnrichmentConfiguration

type CustomDocumentEnrichmentConfiguration struct {
	// RoleArn: string, optional
	RoleArn terra.StringValue `hcl:"role_arn,attr"`
	// CustomDocumentEnrichmentConfigurationInlineConfigurations: min=0,max=100
	InlineConfigurations []CustomDocumentEnrichmentConfigurationInlineConfigurations `hcl:"inline_configurations,block" validate:"min=0,max=100"`
	// CustomDocumentEnrichmentConfigurationPostExtractionHookConfiguration: optional
	PostExtractionHookConfiguration *CustomDocumentEnrichmentConfigurationPostExtractionHookConfiguration `hcl:"post_extraction_hook_configuration,block"`
	// CustomDocumentEnrichmentConfigurationPreExtractionHookConfiguration: optional
	PreExtractionHookConfiguration *CustomDocumentEnrichmentConfigurationPreExtractionHookConfiguration `hcl:"pre_extraction_hook_configuration,block"`
}

type CustomDocumentEnrichmentConfigurationAttributes

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

func (CustomDocumentEnrichmentConfigurationAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationAttributes) InternalWithRef

func (CustomDocumentEnrichmentConfigurationAttributes) RoleArn

type CustomDocumentEnrichmentConfigurationInlineConfigurations

type CustomDocumentEnrichmentConfigurationInlineConfigurations struct {
	// DocumentContentDeletion: bool, optional
	DocumentContentDeletion terra.BoolValue `hcl:"document_content_deletion,attr"`
	// CustomDocumentEnrichmentConfigurationInlineConfigurationsCondition: optional
	Condition *CustomDocumentEnrichmentConfigurationInlineConfigurationsCondition `hcl:"condition,block"`
	// CustomDocumentEnrichmentConfigurationInlineConfigurationsTarget: optional
	Target *CustomDocumentEnrichmentConfigurationInlineConfigurationsTarget `hcl:"target,block"`
}

type CustomDocumentEnrichmentConfigurationInlineConfigurationsAttributes

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

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsAttributes) DocumentContentDeletion

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsAttributes) InternalWithRef

type CustomDocumentEnrichmentConfigurationInlineConfigurationsCondition

type CustomDocumentEnrichmentConfigurationInlineConfigurationsCondition struct {
	// ConditionDocumentAttributeKey: string, required
	ConditionDocumentAttributeKey terra.StringValue `hcl:"condition_document_attribute_key,attr" validate:"required"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValue: optional
	ConditionOnValue *CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValue `hcl:"condition_on_value,block"`
}

type CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionAttributes

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

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionAttributes) ConditionDocumentAttributeKey

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionAttributes) Operator

type CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValue

type CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValue struct {
	// DateValue: string, optional
	DateValue terra.StringValue `hcl:"date_value,attr"`
	// LongValue: number, optional
	LongValue terra.NumberValue `hcl:"long_value,attr"`
	// StringListValue: set of string, optional
	StringListValue terra.SetValue[terra.StringValue] `hcl:"string_list_value,attr"`
	// StringValue: string, optional
	StringValue terra.StringValue `hcl:"string_value,attr"`
}

type CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueAttributes

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

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueAttributes) DateValue

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueAttributes) LongValue

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueAttributes) StringListValue

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueAttributes) StringValue

type CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueState

type CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueState struct {
	DateValue       string   `json:"date_value"`
	LongValue       float64  `json:"long_value"`
	StringListValue []string `json:"string_list_value"`
	StringValue     string   `json:"string_value"`
}

type CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionState

type CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionState struct {
	ConditionDocumentAttributeKey string                                                                                    `json:"condition_document_attribute_key"`
	Operator                      string                                                                                    `json:"operator"`
	ConditionOnValue              []CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionConditionOnValueState `json:"condition_on_value"`
}

type CustomDocumentEnrichmentConfigurationInlineConfigurationsState

type CustomDocumentEnrichmentConfigurationInlineConfigurationsState struct {
	DocumentContentDeletion bool                                                                      `json:"document_content_deletion"`
	Condition               []CustomDocumentEnrichmentConfigurationInlineConfigurationsConditionState `json:"condition"`
	Target                  []CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetState    `json:"target"`
}

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTarget

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTarget struct {
	// TargetDocumentAttributeKey: string, optional
	TargetDocumentAttributeKey terra.StringValue `hcl:"target_document_attribute_key,attr"`
	// TargetDocumentAttributeValueDeletion: bool, optional
	TargetDocumentAttributeValueDeletion terra.BoolValue `hcl:"target_document_attribute_value_deletion,attr"`
	// CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValue: optional
	TargetDocumentAttributeValue *CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValue `hcl:"target_document_attribute_value,block"`
}

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetAttributes

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

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetAttributes) InternalWithRef

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetAttributes) TargetDocumentAttributeKey

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetAttributes) TargetDocumentAttributeValueDeletion

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetState

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetState struct {
	TargetDocumentAttributeKey           string                                                                                             `json:"target_document_attribute_key"`
	TargetDocumentAttributeValueDeletion bool                                                                                               `json:"target_document_attribute_value_deletion"`
	TargetDocumentAttributeValue         []CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueState `json:"target_document_attribute_value"`
}

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValue

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValue struct {
	// DateValue: string, optional
	DateValue terra.StringValue `hcl:"date_value,attr"`
	// LongValue: number, optional
	LongValue terra.NumberValue `hcl:"long_value,attr"`
	// StringListValue: set of string, optional
	StringListValue terra.SetValue[terra.StringValue] `hcl:"string_list_value,attr"`
	// StringValue: string, optional
	StringValue terra.StringValue `hcl:"string_value,attr"`
}

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueAttributes

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

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueAttributes) DateValue

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueAttributes) LongValue

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueAttributes) StringListValue

func (CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueAttributes) StringValue

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueState

type CustomDocumentEnrichmentConfigurationInlineConfigurationsTargetTargetDocumentAttributeValueState struct {
	DateValue       string   `json:"date_value"`
	LongValue       float64  `json:"long_value"`
	StringListValue []string `json:"string_list_value"`
	StringValue     string   `json:"string_value"`
}

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfiguration

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfiguration struct {
	// LambdaArn: string, required
	LambdaArn terra.StringValue `hcl:"lambda_arn,attr" validate:"required"`
	// S3Bucket: string, required
	S3Bucket terra.StringValue `hcl:"s3_bucket,attr" validate:"required"`
	// CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationCondition: optional
	InvocationCondition *CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationCondition `hcl:"invocation_condition,block"`
}

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationAttributes

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

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationAttributes) InternalWithRef

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationAttributes) LambdaArn

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationAttributes) S3Bucket

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationCondition

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationCondition struct {
	// ConditionDocumentAttributeKey: string, required
	ConditionDocumentAttributeKey terra.StringValue `hcl:"condition_document_attribute_key,attr" validate:"required"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValue: optional
	ConditionOnValue *CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValue `hcl:"condition_on_value,block"`
}

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionAttributes

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

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionAttributes) ConditionDocumentAttributeKey

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionAttributes) Operator

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValue

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValue struct {
	// DateValue: string, optional
	DateValue terra.StringValue `hcl:"date_value,attr"`
	// LongValue: number, optional
	LongValue terra.NumberValue `hcl:"long_value,attr"`
	// StringListValue: set of string, optional
	StringListValue terra.SetValue[terra.StringValue] `hcl:"string_list_value,attr"`
	// StringValue: string, optional
	StringValue terra.StringValue `hcl:"string_value,attr"`
}

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes

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

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) DateValue

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) LongValue

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) StringListValue

func (CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) StringValue

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueState

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueState struct {
	DateValue       string   `json:"date_value"`
	LongValue       float64  `json:"long_value"`
	StringListValue []string `json:"string_list_value"`
	StringValue     string   `json:"string_value"`
}

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionState

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionState struct {
	ConditionDocumentAttributeKey string                                                                                                         `json:"condition_document_attribute_key"`
	Operator                      string                                                                                                         `json:"operator"`
	ConditionOnValue              []CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionConditionOnValueState `json:"condition_on_value"`
}

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationState

type CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationState struct {
	LambdaArn           string                                                                                         `json:"lambda_arn"`
	S3Bucket            string                                                                                         `json:"s3_bucket"`
	InvocationCondition []CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationInvocationConditionState `json:"invocation_condition"`
}

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfiguration

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfiguration struct {
	// LambdaArn: string, required
	LambdaArn terra.StringValue `hcl:"lambda_arn,attr" validate:"required"`
	// S3Bucket: string, required
	S3Bucket terra.StringValue `hcl:"s3_bucket,attr" validate:"required"`
	// CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationCondition: optional
	InvocationCondition *CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationCondition `hcl:"invocation_condition,block"`
}

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationAttributes

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

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationAttributes) InternalWithRef

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationAttributes) LambdaArn

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationAttributes) S3Bucket

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationCondition

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationCondition struct {
	// ConditionDocumentAttributeKey: string, required
	ConditionDocumentAttributeKey terra.StringValue `hcl:"condition_document_attribute_key,attr" validate:"required"`
	// Operator: string, required
	Operator terra.StringValue `hcl:"operator,attr" validate:"required"`
	// CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValue: optional
	ConditionOnValue *CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValue `hcl:"condition_on_value,block"`
}

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionAttributes

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

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionAttributes) ConditionDocumentAttributeKey

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionAttributes) Operator

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValue

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValue struct {
	// DateValue: string, optional
	DateValue terra.StringValue `hcl:"date_value,attr"`
	// LongValue: number, optional
	LongValue terra.NumberValue `hcl:"long_value,attr"`
	// StringListValue: set of string, optional
	StringListValue terra.SetValue[terra.StringValue] `hcl:"string_list_value,attr"`
	// StringValue: string, optional
	StringValue terra.StringValue `hcl:"string_value,attr"`
}

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes

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

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) DateValue

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) LongValue

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) StringListValue

func (CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) StringValue

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueState

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueState struct {
	DateValue       string   `json:"date_value"`
	LongValue       float64  `json:"long_value"`
	StringListValue []string `json:"string_list_value"`
	StringValue     string   `json:"string_value"`
}

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionState

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionState struct {
	ConditionDocumentAttributeKey string                                                                                                        `json:"condition_document_attribute_key"`
	Operator                      string                                                                                                        `json:"operator"`
	ConditionOnValue              []CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionConditionOnValueState `json:"condition_on_value"`
}

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationState

type CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationState struct {
	LambdaArn           string                                                                                        `json:"lambda_arn"`
	S3Bucket            string                                                                                        `json:"s3_bucket"`
	InvocationCondition []CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationInvocationConditionState `json:"invocation_condition"`
}

type CustomDocumentEnrichmentConfigurationState

type CustomDocumentEnrichmentConfigurationState struct {
	RoleArn                         string                                                                      `json:"role_arn"`
	InlineConfigurations            []CustomDocumentEnrichmentConfigurationInlineConfigurationsState            `json:"inline_configurations"`
	PostExtractionHookConfiguration []CustomDocumentEnrichmentConfigurationPostExtractionHookConfigurationState `json:"post_extraction_hook_configuration"`
	PreExtractionHookConfiguration  []CustomDocumentEnrichmentConfigurationPreExtractionHookConfigurationState  `json:"pre_extraction_hook_configuration"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (akds *Resource) Attributes() awsKendraDataSourceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (akds *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (akds *Resource) State() (*awsKendraDataSourceState, bool)

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

func (*Resource) StateMust

func (akds *Resource) StateMust() *awsKendraDataSourceState

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

func (*Resource) Type

func (akds *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"`
}

Jump to

Keyboard shortcuts

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