kendradatasource

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessControlListConfiguration

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

type AccessControlListConfigurationAttributes

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

func (AccessControlListConfigurationAttributes) InternalRef

func (AccessControlListConfigurationAttributes) InternalTokens

func (AccessControlListConfigurationAttributes) InternalWithRef

func (AccessControlListConfigurationAttributes) KeyPath

type AccessControlListConfigurationState

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

type AuthenticationConfiguration

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

type AuthenticationConfigurationAttributes

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

func (AuthenticationConfigurationAttributes) BasicAuthentication

func (AuthenticationConfigurationAttributes) InternalRef

func (AuthenticationConfigurationAttributes) InternalTokens

func (AuthenticationConfigurationAttributes) InternalWithRef

type AuthenticationConfigurationState

type AuthenticationConfigurationState struct {
	BasicAuthentication []BasicAuthenticationState `json:"basic_authentication"`
}

type BasicAuthentication

type BasicAuthentication 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 BasicAuthenticationAttributes

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

func (BasicAuthenticationAttributes) Credentials

func (BasicAuthenticationAttributes) Host

func (BasicAuthenticationAttributes) InternalRef

func (ba BasicAuthenticationAttributes) InternalRef() (terra.Reference, error)

func (BasicAuthenticationAttributes) InternalTokens

func (ba BasicAuthenticationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BasicAuthenticationAttributes) InternalWithRef

func (BasicAuthenticationAttributes) Port

type BasicAuthenticationState

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

type Condition

type Condition 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"`
	// ConditionConditionOnValue: optional
	ConditionOnValue *ConditionConditionOnValue `hcl:"condition_on_value,block"`
}

type ConditionAttributes

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

func (ConditionAttributes) ConditionDocumentAttributeKey

func (c ConditionAttributes) ConditionDocumentAttributeKey() terra.StringValue

func (ConditionAttributes) ConditionOnValue

func (ConditionAttributes) InternalRef

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

func (ConditionAttributes) InternalTokens

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

func (ConditionAttributes) InternalWithRef

func (c ConditionAttributes) InternalWithRef(ref terra.Reference) ConditionAttributes

func (ConditionAttributes) Operator

func (c ConditionAttributes) Operator() terra.StringValue

type ConditionConditionOnValue

type ConditionConditionOnValue 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 ConditionConditionOnValueAttributes

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

func (ConditionConditionOnValueAttributes) DateValue

func (ConditionConditionOnValueAttributes) InternalRef

func (ConditionConditionOnValueAttributes) InternalTokens

func (cov ConditionConditionOnValueAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConditionConditionOnValueAttributes) InternalWithRef

func (ConditionConditionOnValueAttributes) LongValue

func (ConditionConditionOnValueAttributes) StringListValue

func (ConditionConditionOnValueAttributes) StringValue

type ConditionConditionOnValueState

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

type ConditionState

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

type Configuration

type Configuration struct {
	// S3Configuration: optional
	S3Configuration *S3Configuration `hcl:"s3_configuration,block"`
	// WebCrawlerConfiguration: optional
	WebCrawlerConfiguration *WebCrawlerConfiguration `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 ConfigurationState

type ConfigurationState struct {
	S3Configuration         []S3ConfigurationState         `json:"s3_configuration"`
	WebCrawlerConfiguration []WebCrawlerConfigurationState `json:"web_crawler_configuration"`
}

type CustomDocumentEnrichmentConfiguration

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

type CustomDocumentEnrichmentConfigurationAttributes

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

func (CustomDocumentEnrichmentConfigurationAttributes) InlineConfigurations

func (CustomDocumentEnrichmentConfigurationAttributes) InternalRef

func (CustomDocumentEnrichmentConfigurationAttributes) InternalTokens

func (CustomDocumentEnrichmentConfigurationAttributes) InternalWithRef

func (CustomDocumentEnrichmentConfigurationAttributes) PostExtractionHookConfiguration

func (CustomDocumentEnrichmentConfigurationAttributes) PreExtractionHookConfiguration

func (CustomDocumentEnrichmentConfigurationAttributes) RoleArn

type CustomDocumentEnrichmentConfigurationState

type CustomDocumentEnrichmentConfigurationState struct {
	RoleArn                         string                                 `json:"role_arn"`
	InlineConfigurations            []InlineConfigurationsState            `json:"inline_configurations"`
	PostExtractionHookConfiguration []PostExtractionHookConfigurationState `json:"post_extraction_hook_configuration"`
	PreExtractionHookConfiguration  []PreExtractionHookConfigurationState  `json:"pre_extraction_hook_configuration"`
}

type DocumentsMetadataConfiguration

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

type DocumentsMetadataConfigurationAttributes

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

func (DocumentsMetadataConfigurationAttributes) InternalRef

func (DocumentsMetadataConfigurationAttributes) InternalTokens

func (DocumentsMetadataConfigurationAttributes) InternalWithRef

func (DocumentsMetadataConfigurationAttributes) S3Prefix

type DocumentsMetadataConfigurationState

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

type InlineConfigurations

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

type InlineConfigurationsAttributes

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

func (InlineConfigurationsAttributes) Condition

func (InlineConfigurationsAttributes) DocumentContentDeletion

func (ic InlineConfigurationsAttributes) DocumentContentDeletion() terra.BoolValue

func (InlineConfigurationsAttributes) InternalRef

func (InlineConfigurationsAttributes) InternalTokens

func (ic InlineConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InlineConfigurationsAttributes) InternalWithRef

func (InlineConfigurationsAttributes) Target

type InlineConfigurationsState

type InlineConfigurationsState struct {
	DocumentContentDeletion bool             `json:"document_content_deletion"`
	Condition               []ConditionState `json:"condition"`
	Target                  []TargetState    `json:"target"`
}

type PostExtractionHookConfiguration

type PostExtractionHookConfiguration 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"`
	// PostExtractionHookConfigurationInvocationCondition: optional
	InvocationCondition *PostExtractionHookConfigurationInvocationCondition `hcl:"invocation_condition,block"`
}

type PostExtractionHookConfigurationAttributes

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

func (PostExtractionHookConfigurationAttributes) InternalRef

func (PostExtractionHookConfigurationAttributes) InternalTokens

func (PostExtractionHookConfigurationAttributes) InternalWithRef

func (PostExtractionHookConfigurationAttributes) InvocationCondition

func (PostExtractionHookConfigurationAttributes) LambdaArn

func (PostExtractionHookConfigurationAttributes) S3Bucket

type PostExtractionHookConfigurationInvocationCondition

type PostExtractionHookConfigurationInvocationCondition 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"`
	// PostExtractionHookConfigurationInvocationConditionConditionOnValue: optional
	ConditionOnValue *PostExtractionHookConfigurationInvocationConditionConditionOnValue `hcl:"condition_on_value,block"`
}

type PostExtractionHookConfigurationInvocationConditionAttributes

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

func (PostExtractionHookConfigurationInvocationConditionAttributes) ConditionDocumentAttributeKey

func (PostExtractionHookConfigurationInvocationConditionAttributes) InternalRef

func (PostExtractionHookConfigurationInvocationConditionAttributes) InternalTokens

func (PostExtractionHookConfigurationInvocationConditionAttributes) InternalWithRef

func (PostExtractionHookConfigurationInvocationConditionAttributes) Operator

type PostExtractionHookConfigurationInvocationConditionConditionOnValue

type PostExtractionHookConfigurationInvocationConditionConditionOnValue 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 PostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes

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

func (PostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) DateValue

func (PostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalRef

func (PostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalTokens

func (PostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalWithRef

func (PostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) LongValue

func (PostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) StringListValue

func (PostExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) StringValue

type PostExtractionHookConfigurationInvocationConditionConditionOnValueState

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

type PostExtractionHookConfigurationInvocationConditionState

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

type PostExtractionHookConfigurationState

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

type PreExtractionHookConfiguration

type PreExtractionHookConfiguration 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"`
	// PreExtractionHookConfigurationInvocationCondition: optional
	InvocationCondition *PreExtractionHookConfigurationInvocationCondition `hcl:"invocation_condition,block"`
}

type PreExtractionHookConfigurationAttributes

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

func (PreExtractionHookConfigurationAttributes) InternalRef

func (PreExtractionHookConfigurationAttributes) InternalTokens

func (PreExtractionHookConfigurationAttributes) InternalWithRef

func (PreExtractionHookConfigurationAttributes) InvocationCondition

func (PreExtractionHookConfigurationAttributes) LambdaArn

func (PreExtractionHookConfigurationAttributes) S3Bucket

type PreExtractionHookConfigurationInvocationCondition

type PreExtractionHookConfigurationInvocationCondition 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"`
	// PreExtractionHookConfigurationInvocationConditionConditionOnValue: optional
	ConditionOnValue *PreExtractionHookConfigurationInvocationConditionConditionOnValue `hcl:"condition_on_value,block"`
}

type PreExtractionHookConfigurationInvocationConditionAttributes

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

func (PreExtractionHookConfigurationInvocationConditionAttributes) ConditionDocumentAttributeKey

func (PreExtractionHookConfigurationInvocationConditionAttributes) InternalRef

func (PreExtractionHookConfigurationInvocationConditionAttributes) InternalTokens

func (PreExtractionHookConfigurationInvocationConditionAttributes) InternalWithRef

func (PreExtractionHookConfigurationInvocationConditionAttributes) Operator

type PreExtractionHookConfigurationInvocationConditionConditionOnValue

type PreExtractionHookConfigurationInvocationConditionConditionOnValue 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 PreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes

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

func (PreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) DateValue

func (PreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalRef

func (PreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalTokens

func (PreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) InternalWithRef

func (PreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) LongValue

func (PreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) StringListValue

func (PreExtractionHookConfigurationInvocationConditionConditionOnValueAttributes) StringValue

type PreExtractionHookConfigurationInvocationConditionConditionOnValueState

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

type PreExtractionHookConfigurationInvocationConditionState

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

type PreExtractionHookConfigurationState

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

type ProxyConfiguration

type ProxyConfiguration 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 ProxyConfigurationAttributes

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

func (ProxyConfigurationAttributes) Credentials

func (ProxyConfigurationAttributes) Host

func (ProxyConfigurationAttributes) InternalRef

func (pc ProxyConfigurationAttributes) InternalRef() (terra.Reference, error)

func (ProxyConfigurationAttributes) InternalTokens

func (pc ProxyConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProxyConfigurationAttributes) InternalWithRef

func (ProxyConfigurationAttributes) Port

type ProxyConfigurationState

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

type S3Configuration

type S3Configuration 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"`
	// AccessControlListConfiguration: optional
	AccessControlListConfiguration *AccessControlListConfiguration `hcl:"access_control_list_configuration,block"`
	// DocumentsMetadataConfiguration: optional
	DocumentsMetadataConfiguration *DocumentsMetadataConfiguration `hcl:"documents_metadata_configuration,block"`
}

type S3ConfigurationAttributes

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

func (S3ConfigurationAttributes) AccessControlListConfiguration

func (S3ConfigurationAttributes) BucketName

func (S3ConfigurationAttributes) DocumentsMetadataConfiguration

func (S3ConfigurationAttributes) ExclusionPatterns

func (sc S3ConfigurationAttributes) ExclusionPatterns() terra.SetValue[terra.StringValue]

func (S3ConfigurationAttributes) InclusionPatterns

func (sc S3ConfigurationAttributes) InclusionPatterns() terra.SetValue[terra.StringValue]

func (S3ConfigurationAttributes) InclusionPrefixes

func (sc S3ConfigurationAttributes) InclusionPrefixes() terra.SetValue[terra.StringValue]

func (S3ConfigurationAttributes) InternalRef

func (sc S3ConfigurationAttributes) InternalRef() (terra.Reference, error)

func (S3ConfigurationAttributes) InternalTokens

func (sc S3ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (S3ConfigurationAttributes) InternalWithRef

type S3ConfigurationState

type S3ConfigurationState struct {
	BucketName                     string                                `json:"bucket_name"`
	ExclusionPatterns              []string                              `json:"exclusion_patterns"`
	InclusionPatterns              []string                              `json:"inclusion_patterns"`
	InclusionPrefixes              []string                              `json:"inclusion_prefixes"`
	AccessControlListConfiguration []AccessControlListConfigurationState `json:"access_control_list_configuration"`
	DocumentsMetadataConfiguration []DocumentsMetadataConfigurationState `json:"documents_metadata_configuration"`
}

type SeedUrlConfiguration

type SeedUrlConfiguration 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 SeedUrlConfigurationAttributes

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

func (SeedUrlConfigurationAttributes) InternalRef

func (suc SeedUrlConfigurationAttributes) InternalRef() (terra.Reference, error)

func (SeedUrlConfigurationAttributes) InternalTokens

func (suc SeedUrlConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SeedUrlConfigurationAttributes) InternalWithRef

func (SeedUrlConfigurationAttributes) SeedUrls

func (SeedUrlConfigurationAttributes) WebCrawlerMode

func (suc SeedUrlConfigurationAttributes) WebCrawlerMode() terra.StringValue

type SeedUrlConfigurationState

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

type SiteMapsConfiguration

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

type SiteMapsConfigurationAttributes

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

func (SiteMapsConfigurationAttributes) InternalRef

func (SiteMapsConfigurationAttributes) InternalTokens

func (smc SiteMapsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SiteMapsConfigurationAttributes) InternalWithRef

func (SiteMapsConfigurationAttributes) SiteMaps

type SiteMapsConfigurationState

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

type Target

type Target 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"`
	// TargetDocumentAttributeValue: optional
	TargetDocumentAttributeValue *TargetDocumentAttributeValue `hcl:"target_document_attribute_value,block"`
}

type TargetAttributes

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

func (TargetAttributes) InternalRef

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

func (TargetAttributes) InternalTokens

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

func (TargetAttributes) InternalWithRef

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

func (TargetAttributes) TargetDocumentAttributeKey

func (t TargetAttributes) TargetDocumentAttributeKey() terra.StringValue

func (TargetAttributes) TargetDocumentAttributeValue

func (t TargetAttributes) TargetDocumentAttributeValue() terra.ListValue[TargetDocumentAttributeValueAttributes]

func (TargetAttributes) TargetDocumentAttributeValueDeletion

func (t TargetAttributes) TargetDocumentAttributeValueDeletion() terra.BoolValue

type TargetDocumentAttributeValue

type TargetDocumentAttributeValue 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 TargetDocumentAttributeValueAttributes

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

func (TargetDocumentAttributeValueAttributes) DateValue

func (TargetDocumentAttributeValueAttributes) InternalRef

func (TargetDocumentAttributeValueAttributes) InternalTokens

func (TargetDocumentAttributeValueAttributes) InternalWithRef

func (TargetDocumentAttributeValueAttributes) LongValue

func (TargetDocumentAttributeValueAttributes) StringListValue

func (TargetDocumentAttributeValueAttributes) StringValue

type TargetDocumentAttributeValueState

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

type TargetState

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

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 Urls

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

type UrlsAttributes

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

func (UrlsAttributes) InternalRef

func (u UrlsAttributes) InternalRef() (terra.Reference, error)

func (UrlsAttributes) InternalTokens

func (u UrlsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UrlsAttributes) InternalWithRef

func (u UrlsAttributes) InternalWithRef(ref terra.Reference) UrlsAttributes

func (UrlsAttributes) SeedUrlConfiguration

func (UrlsAttributes) SiteMapsConfiguration

type UrlsState

type UrlsState struct {
	SeedUrlConfiguration  []SeedUrlConfigurationState  `json:"seed_url_configuration"`
	SiteMapsConfiguration []SiteMapsConfigurationState `json:"site_maps_configuration"`
}

type WebCrawlerConfiguration

type WebCrawlerConfiguration 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"`
	// AuthenticationConfiguration: optional
	AuthenticationConfiguration *AuthenticationConfiguration `hcl:"authentication_configuration,block"`
	// ProxyConfiguration: optional
	ProxyConfiguration *ProxyConfiguration `hcl:"proxy_configuration,block"`
	// Urls: required
	Urls *Urls `hcl:"urls,block" validate:"required"`
}

type WebCrawlerConfigurationAttributes

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

func (WebCrawlerConfigurationAttributes) AuthenticationConfiguration

func (WebCrawlerConfigurationAttributes) CrawlDepth

func (WebCrawlerConfigurationAttributes) InternalRef

func (WebCrawlerConfigurationAttributes) InternalTokens

func (wcc WebCrawlerConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (WebCrawlerConfigurationAttributes) InternalWithRef

func (WebCrawlerConfigurationAttributes) MaxContentSizePerPageInMegaBytes

func (wcc WebCrawlerConfigurationAttributes) MaxContentSizePerPageInMegaBytes() terra.NumberValue

func (WebCrawlerConfigurationAttributes) MaxLinksPerPage

func (wcc WebCrawlerConfigurationAttributes) MaxLinksPerPage() terra.NumberValue

func (WebCrawlerConfigurationAttributes) MaxUrlsPerMinuteCrawlRate

func (wcc WebCrawlerConfigurationAttributes) MaxUrlsPerMinuteCrawlRate() terra.NumberValue

func (WebCrawlerConfigurationAttributes) ProxyConfiguration

func (WebCrawlerConfigurationAttributes) UrlExclusionPatterns

func (WebCrawlerConfigurationAttributes) UrlInclusionPatterns

func (WebCrawlerConfigurationAttributes) Urls

type WebCrawlerConfigurationState

type WebCrawlerConfigurationState 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      []AuthenticationConfigurationState `json:"authentication_configuration"`
	ProxyConfiguration               []ProxyConfigurationState          `json:"proxy_configuration"`
	Urls                             []UrlsState                        `json:"urls"`
}

Jump to

Keyboard shortcuts

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