aws_kendra_index

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 {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Edition: string, optional
	Edition terra.StringValue `hcl:"edition,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// UserContextPolicy: string, optional
	UserContextPolicy terra.StringValue `hcl:"user_context_policy,attr"`
	// CapacityUnits: optional
	CapacityUnits *CapacityUnits `hcl:"capacity_units,block"`
	// DocumentMetadataConfigurationUpdates: min=0,max=500
	DocumentMetadataConfigurationUpdates []DocumentMetadataConfigurationUpdates `hcl:"document_metadata_configuration_updates,block" validate:"min=0,max=500"`
	// ServerSideEncryptionConfiguration: optional
	ServerSideEncryptionConfiguration *ServerSideEncryptionConfiguration `hcl:"server_side_encryption_configuration,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// UserGroupResolutionConfiguration: optional
	UserGroupResolutionConfiguration *UserGroupResolutionConfiguration `hcl:"user_group_resolution_configuration,block"`
	// UserTokenConfigurations: optional
	UserTokenConfigurations *UserTokenConfigurations `hcl:"user_token_configurations,block"`
}

Args contains the configurations for aws_kendra_index.

type CapacityUnits

type CapacityUnits struct {
	// QueryCapacityUnits: number, optional
	QueryCapacityUnits terra.NumberValue `hcl:"query_capacity_units,attr"`
	// StorageCapacityUnits: number, optional
	StorageCapacityUnits terra.NumberValue `hcl:"storage_capacity_units,attr"`
}

type CapacityUnitsAttributes

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

func (CapacityUnitsAttributes) InternalRef

func (cu CapacityUnitsAttributes) InternalRef() (terra.Reference, error)

func (CapacityUnitsAttributes) InternalTokens

func (cu CapacityUnitsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CapacityUnitsAttributes) InternalWithRef

func (CapacityUnitsAttributes) QueryCapacityUnits

func (cu CapacityUnitsAttributes) QueryCapacityUnits() terra.NumberValue

func (CapacityUnitsAttributes) StorageCapacityUnits

func (cu CapacityUnitsAttributes) StorageCapacityUnits() terra.NumberValue

type CapacityUnitsState

type CapacityUnitsState struct {
	QueryCapacityUnits   float64 `json:"query_capacity_units"`
	StorageCapacityUnits float64 `json:"storage_capacity_units"`
}

type DataArgs

type DataArgs struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
}

DataArgs contains the configurations for aws_kendra_index.

type DataCapacityUnitsAttributes

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

func (DataCapacityUnitsAttributes) InternalRef

func (cu DataCapacityUnitsAttributes) InternalRef() (terra.Reference, error)

func (DataCapacityUnitsAttributes) InternalTokens

func (cu DataCapacityUnitsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataCapacityUnitsAttributes) InternalWithRef

func (DataCapacityUnitsAttributes) QueryCapacityUnits

func (cu DataCapacityUnitsAttributes) QueryCapacityUnits() terra.NumberValue

func (DataCapacityUnitsAttributes) StorageCapacityUnits

func (cu DataCapacityUnitsAttributes) StorageCapacityUnits() terra.NumberValue

type DataCapacityUnitsState

type DataCapacityUnitsState struct {
	QueryCapacityUnits   float64 `json:"query_capacity_units"`
	StorageCapacityUnits float64 `json:"storage_capacity_units"`
}

type DataDocumentMetadataConfigurationUpdatesAttributes

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

func (DataDocumentMetadataConfigurationUpdatesAttributes) InternalRef

func (DataDocumentMetadataConfigurationUpdatesAttributes) InternalTokens

func (DataDocumentMetadataConfigurationUpdatesAttributes) InternalWithRef

func (DataDocumentMetadataConfigurationUpdatesAttributes) Name

func (DataDocumentMetadataConfigurationUpdatesAttributes) Relevance

func (DataDocumentMetadataConfigurationUpdatesAttributes) Search

func (DataDocumentMetadataConfigurationUpdatesAttributes) Type

type DataDocumentMetadataConfigurationUpdatesRelevanceAttributes

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

func (DataDocumentMetadataConfigurationUpdatesRelevanceAttributes) Duration

func (DataDocumentMetadataConfigurationUpdatesRelevanceAttributes) Freshness

func (DataDocumentMetadataConfigurationUpdatesRelevanceAttributes) Importance

func (DataDocumentMetadataConfigurationUpdatesRelevanceAttributes) InternalRef

func (DataDocumentMetadataConfigurationUpdatesRelevanceAttributes) InternalTokens

func (DataDocumentMetadataConfigurationUpdatesRelevanceAttributes) InternalWithRef

func (DataDocumentMetadataConfigurationUpdatesRelevanceAttributes) RankOrder

func (DataDocumentMetadataConfigurationUpdatesRelevanceAttributes) ValuesImportanceMap

type DataDocumentMetadataConfigurationUpdatesRelevanceState

type DataDocumentMetadataConfigurationUpdatesRelevanceState struct {
	Duration            string             `json:"duration"`
	Freshness           bool               `json:"freshness"`
	Importance          float64            `json:"importance"`
	RankOrder           string             `json:"rank_order"`
	ValuesImportanceMap map[string]float64 `json:"values_importance_map"`
}

type DataDocumentMetadataConfigurationUpdatesSearchAttributes

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

func (DataDocumentMetadataConfigurationUpdatesSearchAttributes) Displayable

func (DataDocumentMetadataConfigurationUpdatesSearchAttributes) Facetable

func (DataDocumentMetadataConfigurationUpdatesSearchAttributes) InternalRef

func (DataDocumentMetadataConfigurationUpdatesSearchAttributes) InternalTokens

func (DataDocumentMetadataConfigurationUpdatesSearchAttributes) InternalWithRef

func (DataDocumentMetadataConfigurationUpdatesSearchAttributes) Searchable

func (DataDocumentMetadataConfigurationUpdatesSearchAttributes) Sortable

type DataDocumentMetadataConfigurationUpdatesSearchState

type DataDocumentMetadataConfigurationUpdatesSearchState struct {
	Displayable bool `json:"displayable"`
	Facetable   bool `json:"facetable"`
	Searchable  bool `json:"searchable"`
	Sortable    bool `json:"sortable"`
}

type DataDocumentMetadataConfigurationUpdatesState

type DataDocumentMetadataConfigurationUpdatesState struct {
	Name      string                                                   `json:"name"`
	Type      string                                                   `json:"type"`
	Relevance []DataDocumentMetadataConfigurationUpdatesRelevanceState `json:"relevance"`
	Search    []DataDocumentMetadataConfigurationUpdatesSearchState    `json:"search"`
}

type DataIndexStatisticsAttributes

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

func (DataIndexStatisticsAttributes) FaqStatistics

func (DataIndexStatisticsAttributes) InternalRef

func (is DataIndexStatisticsAttributes) InternalRef() (terra.Reference, error)

func (DataIndexStatisticsAttributes) InternalTokens

func (is DataIndexStatisticsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataIndexStatisticsAttributes) InternalWithRef

func (DataIndexStatisticsAttributes) TextDocumentStatistics

type DataIndexStatisticsFaqStatisticsAttributes

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

func (DataIndexStatisticsFaqStatisticsAttributes) IndexedQuestionAnswersCount

func (fs DataIndexStatisticsFaqStatisticsAttributes) IndexedQuestionAnswersCount() terra.NumberValue

func (DataIndexStatisticsFaqStatisticsAttributes) InternalRef

func (DataIndexStatisticsFaqStatisticsAttributes) InternalTokens

func (DataIndexStatisticsFaqStatisticsAttributes) InternalWithRef

type DataIndexStatisticsFaqStatisticsState

type DataIndexStatisticsFaqStatisticsState struct {
	IndexedQuestionAnswersCount float64 `json:"indexed_question_answers_count"`
}

type DataIndexStatisticsState

type DataIndexStatisticsState struct {
	FaqStatistics          []DataIndexStatisticsFaqStatisticsState          `json:"faq_statistics"`
	TextDocumentStatistics []DataIndexStatisticsTextDocumentStatisticsState `json:"text_document_statistics"`
}

type DataIndexStatisticsTextDocumentStatisticsAttributes

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

func (DataIndexStatisticsTextDocumentStatisticsAttributes) IndexedTextBytes

func (DataIndexStatisticsTextDocumentStatisticsAttributes) IndexedTextDocumentsCount

func (DataIndexStatisticsTextDocumentStatisticsAttributes) InternalRef

func (DataIndexStatisticsTextDocumentStatisticsAttributes) InternalTokens

func (DataIndexStatisticsTextDocumentStatisticsAttributes) InternalWithRef

type DataIndexStatisticsTextDocumentStatisticsState

type DataIndexStatisticsTextDocumentStatisticsState struct {
	IndexedTextBytes          float64 `json:"indexed_text_bytes"`
	IndexedTextDocumentsCount float64 `json:"indexed_text_documents_count"`
}

type DataServerSideEncryptionConfigurationAttributes

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

func (DataServerSideEncryptionConfigurationAttributes) InternalRef

func (DataServerSideEncryptionConfigurationAttributes) InternalTokens

func (DataServerSideEncryptionConfigurationAttributes) InternalWithRef

func (DataServerSideEncryptionConfigurationAttributes) KmsKeyId

type DataServerSideEncryptionConfigurationState

type DataServerSideEncryptionConfigurationState struct {
	KmsKeyId string `json:"kms_key_id"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_kendra_index.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aki *DataSource) Attributes() dataAwsKendraIndexAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aki *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aki *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aki *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type DataUserGroupResolutionConfigurationAttributes

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

func (DataUserGroupResolutionConfigurationAttributes) InternalRef

func (DataUserGroupResolutionConfigurationAttributes) InternalTokens

func (DataUserGroupResolutionConfigurationAttributes) InternalWithRef

func (DataUserGroupResolutionConfigurationAttributes) UserGroupResolutionMode

func (ugrc DataUserGroupResolutionConfigurationAttributes) UserGroupResolutionMode() terra.StringValue

type DataUserGroupResolutionConfigurationState

type DataUserGroupResolutionConfigurationState struct {
	UserGroupResolutionMode string `json:"user_group_resolution_mode"`
}

type DataUserTokenConfigurationsAttributes

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

func (DataUserTokenConfigurationsAttributes) InternalRef

func (DataUserTokenConfigurationsAttributes) InternalTokens

func (DataUserTokenConfigurationsAttributes) InternalWithRef

type DataUserTokenConfigurationsJsonTokenTypeConfigurationAttributes

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

func (DataUserTokenConfigurationsJsonTokenTypeConfigurationAttributes) GroupAttributeField

func (DataUserTokenConfigurationsJsonTokenTypeConfigurationAttributes) InternalRef

func (DataUserTokenConfigurationsJsonTokenTypeConfigurationAttributes) InternalTokens

func (DataUserTokenConfigurationsJsonTokenTypeConfigurationAttributes) InternalWithRef

func (DataUserTokenConfigurationsJsonTokenTypeConfigurationAttributes) UserNameAttributeField

type DataUserTokenConfigurationsJsonTokenTypeConfigurationState

type DataUserTokenConfigurationsJsonTokenTypeConfigurationState struct {
	GroupAttributeField    string `json:"group_attribute_field"`
	UserNameAttributeField string `json:"user_name_attribute_field"`
}

type DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes

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

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) ClaimRegex

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) GroupAttributeField

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) InternalRef

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) InternalTokens

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) InternalWithRef

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) Issuer

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) KeyLocation

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) SecretsManagerArn

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) Url

func (DataUserTokenConfigurationsJwtTokenTypeConfigurationAttributes) UserNameAttributeField

type DataUserTokenConfigurationsJwtTokenTypeConfigurationState

type DataUserTokenConfigurationsJwtTokenTypeConfigurationState struct {
	ClaimRegex             string `json:"claim_regex"`
	GroupAttributeField    string `json:"group_attribute_field"`
	Issuer                 string `json:"issuer"`
	KeyLocation            string `json:"key_location"`
	SecretsManagerArn      string `json:"secrets_manager_arn"`
	Url                    string `json:"url"`
	UserNameAttributeField string `json:"user_name_attribute_field"`
}

type DataUserTokenConfigurationsState

type DataUserTokenConfigurationsState struct {
	JsonTokenTypeConfiguration []DataUserTokenConfigurationsJsonTokenTypeConfigurationState `json:"json_token_type_configuration"`
	JwtTokenTypeConfiguration  []DataUserTokenConfigurationsJwtTokenTypeConfigurationState  `json:"jwt_token_type_configuration"`
}

type DocumentMetadataConfigurationUpdates

type DocumentMetadataConfigurationUpdates struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// DocumentMetadataConfigurationUpdatesRelevance: optional
	Relevance *DocumentMetadataConfigurationUpdatesRelevance `hcl:"relevance,block"`
	// DocumentMetadataConfigurationUpdatesSearch: optional
	Search *DocumentMetadataConfigurationUpdatesSearch `hcl:"search,block"`
}

type DocumentMetadataConfigurationUpdatesAttributes

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

func (DocumentMetadataConfigurationUpdatesAttributes) InternalRef

func (DocumentMetadataConfigurationUpdatesAttributes) InternalTokens

func (DocumentMetadataConfigurationUpdatesAttributes) InternalWithRef

func (DocumentMetadataConfigurationUpdatesAttributes) Name

func (DocumentMetadataConfigurationUpdatesAttributes) Relevance

func (DocumentMetadataConfigurationUpdatesAttributes) Search

func (DocumentMetadataConfigurationUpdatesAttributes) Type

type DocumentMetadataConfigurationUpdatesRelevance

type DocumentMetadataConfigurationUpdatesRelevance struct {
	// Duration: string, optional
	Duration terra.StringValue `hcl:"duration,attr"`
	// Freshness: bool, optional
	Freshness terra.BoolValue `hcl:"freshness,attr"`
	// Importance: number, optional
	Importance terra.NumberValue `hcl:"importance,attr"`
	// RankOrder: string, optional
	RankOrder terra.StringValue `hcl:"rank_order,attr"`
	// ValuesImportanceMap: map of number, optional
	ValuesImportanceMap terra.MapValue[terra.NumberValue] `hcl:"values_importance_map,attr"`
}

type DocumentMetadataConfigurationUpdatesRelevanceAttributes

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

func (DocumentMetadataConfigurationUpdatesRelevanceAttributes) Duration

func (DocumentMetadataConfigurationUpdatesRelevanceAttributes) Freshness

func (DocumentMetadataConfigurationUpdatesRelevanceAttributes) Importance

func (DocumentMetadataConfigurationUpdatesRelevanceAttributes) InternalRef

func (DocumentMetadataConfigurationUpdatesRelevanceAttributes) InternalTokens

func (DocumentMetadataConfigurationUpdatesRelevanceAttributes) InternalWithRef

func (DocumentMetadataConfigurationUpdatesRelevanceAttributes) RankOrder

func (DocumentMetadataConfigurationUpdatesRelevanceAttributes) ValuesImportanceMap

type DocumentMetadataConfigurationUpdatesRelevanceState

type DocumentMetadataConfigurationUpdatesRelevanceState struct {
	Duration            string             `json:"duration"`
	Freshness           bool               `json:"freshness"`
	Importance          float64            `json:"importance"`
	RankOrder           string             `json:"rank_order"`
	ValuesImportanceMap map[string]float64 `json:"values_importance_map"`
}

type DocumentMetadataConfigurationUpdatesSearch

type DocumentMetadataConfigurationUpdatesSearch struct {
	// Displayable: bool, optional
	Displayable terra.BoolValue `hcl:"displayable,attr"`
	// Facetable: bool, optional
	Facetable terra.BoolValue `hcl:"facetable,attr"`
	// Searchable: bool, optional
	Searchable terra.BoolValue `hcl:"searchable,attr"`
	// Sortable: bool, optional
	Sortable terra.BoolValue `hcl:"sortable,attr"`
}

type DocumentMetadataConfigurationUpdatesSearchAttributes

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

func (DocumentMetadataConfigurationUpdatesSearchAttributes) Displayable

func (DocumentMetadataConfigurationUpdatesSearchAttributes) Facetable

func (DocumentMetadataConfigurationUpdatesSearchAttributes) InternalRef

func (DocumentMetadataConfigurationUpdatesSearchAttributes) InternalTokens

func (DocumentMetadataConfigurationUpdatesSearchAttributes) InternalWithRef

func (DocumentMetadataConfigurationUpdatesSearchAttributes) Searchable

func (DocumentMetadataConfigurationUpdatesSearchAttributes) Sortable

type DocumentMetadataConfigurationUpdatesSearchState

type DocumentMetadataConfigurationUpdatesSearchState struct {
	Displayable bool `json:"displayable"`
	Facetable   bool `json:"facetable"`
	Searchable  bool `json:"searchable"`
	Sortable    bool `json:"sortable"`
}

type DocumentMetadataConfigurationUpdatesState

type DocumentMetadataConfigurationUpdatesState struct {
	Name      string                                               `json:"name"`
	Type      string                                               `json:"type"`
	Relevance []DocumentMetadataConfigurationUpdatesRelevanceState `json:"relevance"`
	Search    []DocumentMetadataConfigurationUpdatesSearchState    `json:"search"`
}

type IndexStatisticsAttributes

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

func (IndexStatisticsAttributes) FaqStatistics

func (IndexStatisticsAttributes) InternalRef

func (is IndexStatisticsAttributes) InternalRef() (terra.Reference, error)

func (IndexStatisticsAttributes) InternalTokens

func (is IndexStatisticsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (IndexStatisticsAttributes) InternalWithRef

func (IndexStatisticsAttributes) TextDocumentStatistics

type IndexStatisticsFaqStatisticsAttributes

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

func (IndexStatisticsFaqStatisticsAttributes) IndexedQuestionAnswersCount

func (fs IndexStatisticsFaqStatisticsAttributes) IndexedQuestionAnswersCount() terra.NumberValue

func (IndexStatisticsFaqStatisticsAttributes) InternalRef

func (IndexStatisticsFaqStatisticsAttributes) InternalTokens

func (IndexStatisticsFaqStatisticsAttributes) InternalWithRef

type IndexStatisticsFaqStatisticsState

type IndexStatisticsFaqStatisticsState struct {
	IndexedQuestionAnswersCount float64 `json:"indexed_question_answers_count"`
}

type IndexStatisticsState

type IndexStatisticsState struct {
	FaqStatistics          []IndexStatisticsFaqStatisticsState          `json:"faq_statistics"`
	TextDocumentStatistics []IndexStatisticsTextDocumentStatisticsState `json:"text_document_statistics"`
}

type IndexStatisticsTextDocumentStatisticsAttributes

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

func (IndexStatisticsTextDocumentStatisticsAttributes) IndexedTextBytes

func (IndexStatisticsTextDocumentStatisticsAttributes) IndexedTextDocumentsCount

func (tds IndexStatisticsTextDocumentStatisticsAttributes) IndexedTextDocumentsCount() terra.NumberValue

func (IndexStatisticsTextDocumentStatisticsAttributes) InternalRef

func (IndexStatisticsTextDocumentStatisticsAttributes) InternalTokens

func (IndexStatisticsTextDocumentStatisticsAttributes) InternalWithRef

type IndexStatisticsTextDocumentStatisticsState

type IndexStatisticsTextDocumentStatisticsState struct {
	IndexedTextBytes          float64 `json:"indexed_text_bytes"`
	IndexedTextDocumentsCount float64 `json:"indexed_text_documents_count"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aki *Resource) Attributes() awsKendraIndexAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aki *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aki *Resource) State() (*awsKendraIndexState, bool)

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

func (*Resource) StateMust

func (aki *Resource) StateMust() *awsKendraIndexState

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

func (*Resource) Type

func (aki *Resource) Type() string

Type returns the Terraform object type for Resource.

type ServerSideEncryptionConfiguration

type ServerSideEncryptionConfiguration struct {
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
}

type ServerSideEncryptionConfigurationAttributes

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

func (ServerSideEncryptionConfigurationAttributes) InternalRef

func (ServerSideEncryptionConfigurationAttributes) InternalTokens

func (ServerSideEncryptionConfigurationAttributes) InternalWithRef

func (ServerSideEncryptionConfigurationAttributes) KmsKeyId

type ServerSideEncryptionConfigurationState

type ServerSideEncryptionConfigurationState struct {
	KmsKeyId string `json:"kms_key_id"`
}

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 UserGroupResolutionConfiguration

type UserGroupResolutionConfiguration struct {
	// UserGroupResolutionMode: string, required
	UserGroupResolutionMode terra.StringValue `hcl:"user_group_resolution_mode,attr" validate:"required"`
}

type UserGroupResolutionConfigurationAttributes

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

func (UserGroupResolutionConfigurationAttributes) InternalRef

func (UserGroupResolutionConfigurationAttributes) InternalTokens

func (UserGroupResolutionConfigurationAttributes) InternalWithRef

func (UserGroupResolutionConfigurationAttributes) UserGroupResolutionMode

func (ugrc UserGroupResolutionConfigurationAttributes) UserGroupResolutionMode() terra.StringValue

type UserGroupResolutionConfigurationState

type UserGroupResolutionConfigurationState struct {
	UserGroupResolutionMode string `json:"user_group_resolution_mode"`
}

type UserTokenConfigurations

type UserTokenConfigurations struct {
	// UserTokenConfigurationsJsonTokenTypeConfiguration: optional
	JsonTokenTypeConfiguration *UserTokenConfigurationsJsonTokenTypeConfiguration `hcl:"json_token_type_configuration,block"`
	// UserTokenConfigurationsJwtTokenTypeConfiguration: optional
	JwtTokenTypeConfiguration *UserTokenConfigurationsJwtTokenTypeConfiguration `hcl:"jwt_token_type_configuration,block"`
}

type UserTokenConfigurationsAttributes

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

func (UserTokenConfigurationsAttributes) InternalRef

func (UserTokenConfigurationsAttributes) InternalTokens

func (utc UserTokenConfigurationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UserTokenConfigurationsAttributes) InternalWithRef

func (UserTokenConfigurationsAttributes) JwtTokenTypeConfiguration

type UserTokenConfigurationsJsonTokenTypeConfiguration

type UserTokenConfigurationsJsonTokenTypeConfiguration struct {
	// GroupAttributeField: string, required
	GroupAttributeField terra.StringValue `hcl:"group_attribute_field,attr" validate:"required"`
	// UserNameAttributeField: string, required
	UserNameAttributeField terra.StringValue `hcl:"user_name_attribute_field,attr" validate:"required"`
}

type UserTokenConfigurationsJsonTokenTypeConfigurationAttributes

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

func (UserTokenConfigurationsJsonTokenTypeConfigurationAttributes) GroupAttributeField

func (UserTokenConfigurationsJsonTokenTypeConfigurationAttributes) InternalRef

func (UserTokenConfigurationsJsonTokenTypeConfigurationAttributes) InternalTokens

func (UserTokenConfigurationsJsonTokenTypeConfigurationAttributes) InternalWithRef

func (UserTokenConfigurationsJsonTokenTypeConfigurationAttributes) UserNameAttributeField

type UserTokenConfigurationsJsonTokenTypeConfigurationState

type UserTokenConfigurationsJsonTokenTypeConfigurationState struct {
	GroupAttributeField    string `json:"group_attribute_field"`
	UserNameAttributeField string `json:"user_name_attribute_field"`
}

type UserTokenConfigurationsJwtTokenTypeConfiguration

type UserTokenConfigurationsJwtTokenTypeConfiguration struct {
	// ClaimRegex: string, optional
	ClaimRegex terra.StringValue `hcl:"claim_regex,attr"`
	// GroupAttributeField: string, optional
	GroupAttributeField terra.StringValue `hcl:"group_attribute_field,attr"`
	// Issuer: string, optional
	Issuer terra.StringValue `hcl:"issuer,attr"`
	// KeyLocation: string, required
	KeyLocation terra.StringValue `hcl:"key_location,attr" validate:"required"`
	// SecretsManagerArn: string, optional
	SecretsManagerArn terra.StringValue `hcl:"secrets_manager_arn,attr"`
	// Url: string, optional
	Url terra.StringValue `hcl:"url,attr"`
	// UserNameAttributeField: string, optional
	UserNameAttributeField terra.StringValue `hcl:"user_name_attribute_field,attr"`
}

type UserTokenConfigurationsJwtTokenTypeConfigurationAttributes

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

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) ClaimRegex

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) GroupAttributeField

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) InternalRef

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) InternalTokens

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) InternalWithRef

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) Issuer

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) KeyLocation

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) SecretsManagerArn

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) Url

func (UserTokenConfigurationsJwtTokenTypeConfigurationAttributes) UserNameAttributeField

type UserTokenConfigurationsJwtTokenTypeConfigurationState

type UserTokenConfigurationsJwtTokenTypeConfigurationState struct {
	ClaimRegex             string `json:"claim_regex"`
	GroupAttributeField    string `json:"group_attribute_field"`
	Issuer                 string `json:"issuer"`
	KeyLocation            string `json:"key_location"`
	SecretsManagerArn      string `json:"secrets_manager_arn"`
	Url                    string `json:"url"`
	UserNameAttributeField string `json:"user_name_attribute_field"`
}

type UserTokenConfigurationsState

type UserTokenConfigurationsState struct {
	JsonTokenTypeConfiguration []UserTokenConfigurationsJsonTokenTypeConfigurationState `json:"json_token_type_configuration"`
	JwtTokenTypeConfiguration  []UserTokenConfigurationsJwtTokenTypeConfigurationState  `json:"jwt_token_type_configuration"`
}

Jump to

Keyboard shortcuts

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