aws_kendra_experience

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"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IndexId: string, required
	IndexId terra.StringValue `hcl:"index_id,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
	// Configuration: optional
	Configuration *Configuration `hcl:"configuration,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_kendra_experience.

type Configuration

type Configuration struct {
	// ConfigurationContentSourceConfiguration: optional
	ContentSourceConfiguration *ConfigurationContentSourceConfiguration `hcl:"content_source_configuration,block"`
	// ConfigurationUserIdentityConfiguration: optional
	UserIdentityConfiguration *ConfigurationUserIdentityConfiguration `hcl:"user_identity_configuration,block"`
}

type ConfigurationAttributes

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

func (ConfigurationAttributes) ContentSourceConfiguration

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) UserIdentityConfiguration

type ConfigurationContentSourceConfiguration

type ConfigurationContentSourceConfiguration struct {
	// DataSourceIds: set of string, optional
	DataSourceIds terra.SetValue[terra.StringValue] `hcl:"data_source_ids,attr"`
	// DirectPutContent: bool, optional
	DirectPutContent terra.BoolValue `hcl:"direct_put_content,attr"`
	// FaqIds: set of string, optional
	FaqIds terra.SetValue[terra.StringValue] `hcl:"faq_ids,attr"`
}

type ConfigurationContentSourceConfigurationAttributes

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

func (ConfigurationContentSourceConfigurationAttributes) DataSourceIds

func (ConfigurationContentSourceConfigurationAttributes) DirectPutContent

func (ConfigurationContentSourceConfigurationAttributes) FaqIds

func (ConfigurationContentSourceConfigurationAttributes) InternalRef

func (ConfigurationContentSourceConfigurationAttributes) InternalTokens

func (ConfigurationContentSourceConfigurationAttributes) InternalWithRef

type ConfigurationContentSourceConfigurationState

type ConfigurationContentSourceConfigurationState struct {
	DataSourceIds    []string `json:"data_source_ids"`
	DirectPutContent bool     `json:"direct_put_content"`
	FaqIds           []string `json:"faq_ids"`
}

type ConfigurationState

type ConfigurationState struct {
	ContentSourceConfiguration []ConfigurationContentSourceConfigurationState `json:"content_source_configuration"`
	UserIdentityConfiguration  []ConfigurationUserIdentityConfigurationState  `json:"user_identity_configuration"`
}

type ConfigurationUserIdentityConfiguration

type ConfigurationUserIdentityConfiguration struct {
	// IdentityAttributeName: string, required
	IdentityAttributeName terra.StringValue `hcl:"identity_attribute_name,attr" validate:"required"`
}

type ConfigurationUserIdentityConfigurationAttributes

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

func (ConfigurationUserIdentityConfigurationAttributes) IdentityAttributeName

func (ConfigurationUserIdentityConfigurationAttributes) InternalRef

func (ConfigurationUserIdentityConfigurationAttributes) InternalTokens

func (ConfigurationUserIdentityConfigurationAttributes) InternalWithRef

type ConfigurationUserIdentityConfigurationState

type ConfigurationUserIdentityConfigurationState struct {
	IdentityAttributeName string `json:"identity_attribute_name"`
}

type DataArgs

type DataArgs struct {
	// ExperienceId: string, required
	ExperienceId terra.StringValue `hcl:"experience_id,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// IndexId: string, required
	IndexId terra.StringValue `hcl:"index_id,attr" validate:"required"`
}

DataArgs contains the configurations for aws_kendra_experience.

type DataConfigurationAttributes

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

func (DataConfigurationAttributes) InternalRef

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

func (DataConfigurationAttributes) InternalTokens

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

func (DataConfigurationAttributes) InternalWithRef

func (DataConfigurationAttributes) UserIdentityConfiguration

type DataConfigurationContentSourceConfigurationAttributes

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

func (DataConfigurationContentSourceConfigurationAttributes) DataSourceIds

func (DataConfigurationContentSourceConfigurationAttributes) DirectPutContent

func (DataConfigurationContentSourceConfigurationAttributes) FaqIds

func (DataConfigurationContentSourceConfigurationAttributes) InternalRef

func (DataConfigurationContentSourceConfigurationAttributes) InternalTokens

func (DataConfigurationContentSourceConfigurationAttributes) InternalWithRef

type DataConfigurationContentSourceConfigurationState

type DataConfigurationContentSourceConfigurationState struct {
	DataSourceIds    []string `json:"data_source_ids"`
	DirectPutContent bool     `json:"direct_put_content"`
	FaqIds           []string `json:"faq_ids"`
}

type DataConfigurationState

type DataConfigurationState struct {
	ContentSourceConfiguration []DataConfigurationContentSourceConfigurationState `json:"content_source_configuration"`
	UserIdentityConfiguration  []DataConfigurationUserIdentityConfigurationState  `json:"user_identity_configuration"`
}

type DataConfigurationUserIdentityConfigurationAttributes

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

func (DataConfigurationUserIdentityConfigurationAttributes) IdentityAttributeName

func (DataConfigurationUserIdentityConfigurationAttributes) InternalRef

func (DataConfigurationUserIdentityConfigurationAttributes) InternalTokens

func (DataConfigurationUserIdentityConfigurationAttributes) InternalWithRef

type DataConfigurationUserIdentityConfigurationState

type DataConfigurationUserIdentityConfigurationState struct {
	IdentityAttributeName string `json:"identity_attribute_name"`
}

type DataEndpointsAttributes

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

func (DataEndpointsAttributes) Endpoint

func (DataEndpointsAttributes) EndpointType

func (e DataEndpointsAttributes) EndpointType() terra.StringValue

func (DataEndpointsAttributes) InternalRef

func (e DataEndpointsAttributes) InternalRef() (terra.Reference, error)

func (DataEndpointsAttributes) InternalTokens

func (e DataEndpointsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataEndpointsAttributes) InternalWithRef

type DataEndpointsState

type DataEndpointsState struct {
	Endpoint     string `json:"endpoint"`
	EndpointType string `json:"endpoint_type"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_kendra_experience.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (ake *DataSource) Attributes() dataAwsKendraExperienceAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (ake *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (ake *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type EndpointsAttributes

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

func (EndpointsAttributes) Endpoint

func (e EndpointsAttributes) Endpoint() terra.StringValue

func (EndpointsAttributes) EndpointType

func (e EndpointsAttributes) EndpointType() terra.StringValue

func (EndpointsAttributes) InternalRef

func (e EndpointsAttributes) InternalRef() (terra.Reference, error)

func (EndpointsAttributes) InternalTokens

func (e EndpointsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EndpointsAttributes) InternalWithRef

func (e EndpointsAttributes) InternalWithRef(ref terra.Reference) EndpointsAttributes

type EndpointsState

type EndpointsState struct {
	Endpoint     string `json:"endpoint"`
	EndpointType string `json:"endpoint_type"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ake *Resource) Attributes() awsKendraExperienceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ake *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ake *Resource) State() (*awsKendraExperienceState, bool)

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

func (*Resource) StateMust

func (ake *Resource) StateMust() *awsKendraExperienceState

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

func (*Resource) Type

func (ake *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