aws_lex_bot_alias

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 {
	// BotName: string, required
	BotName terra.StringValue `hcl:"bot_name,attr" validate:"required"`
	// BotVersion: string, required
	BotVersion terra.StringValue `hcl:"bot_version,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ConversationLogs: optional
	ConversationLogs *ConversationLogs `hcl:"conversation_logs,block"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_lex_bot_alias.

type ConversationLogs

type ConversationLogs struct {
	// IamRoleArn: string, required
	IamRoleArn terra.StringValue `hcl:"iam_role_arn,attr" validate:"required"`
	// ConversationLogsLogSettings: min=0
	LogSettings []ConversationLogsLogSettings `hcl:"log_settings,block" validate:"min=0"`
}

type ConversationLogsAttributes

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

func (ConversationLogsAttributes) IamRoleArn

func (ConversationLogsAttributes) InternalRef

func (cl ConversationLogsAttributes) InternalRef() (terra.Reference, error)

func (ConversationLogsAttributes) InternalTokens

func (cl ConversationLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConversationLogsAttributes) InternalWithRef

func (ConversationLogsAttributes) LogSettings

type ConversationLogsLogSettings

type ConversationLogsLogSettings struct {
	// Destination: string, required
	Destination terra.StringValue `hcl:"destination,attr" validate:"required"`
	// KmsKeyArn: string, optional
	KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"`
	// LogType: string, required
	LogType terra.StringValue `hcl:"log_type,attr" validate:"required"`
	// ResourceArn: string, required
	ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"`
}

type ConversationLogsLogSettingsAttributes

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

func (ConversationLogsLogSettingsAttributes) Destination

func (ConversationLogsLogSettingsAttributes) InternalRef

func (ConversationLogsLogSettingsAttributes) InternalTokens

func (ConversationLogsLogSettingsAttributes) InternalWithRef

func (ConversationLogsLogSettingsAttributes) KmsKeyArn

func (ConversationLogsLogSettingsAttributes) LogType

func (ConversationLogsLogSettingsAttributes) ResourceArn

func (ConversationLogsLogSettingsAttributes) ResourcePrefix

type ConversationLogsLogSettingsState

type ConversationLogsLogSettingsState struct {
	Destination    string `json:"destination"`
	KmsKeyArn      string `json:"kms_key_arn"`
	LogType        string `json:"log_type"`
	ResourceArn    string `json:"resource_arn"`
	ResourcePrefix string `json:"resource_prefix"`
}

type ConversationLogsState

type ConversationLogsState struct {
	IamRoleArn  string                             `json:"iam_role_arn"`
	LogSettings []ConversationLogsLogSettingsState `json:"log_settings"`
}

type DataArgs

type DataArgs struct {
	// BotName: string, required
	BotName terra.StringValue `hcl:"bot_name,attr" validate:"required"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
}

DataArgs contains the configurations for aws_lex_bot_alias.

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_lex_bot_alias.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (alba *DataSource) Attributes() dataAwsLexBotAliasAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (alba *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (alba *DataSource) LocalName() string

LocalName returns the local name for DataSource.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (alba *Resource) Attributes() awsLexBotAliasAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (alba *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (alba *Resource) State() (*awsLexBotAliasState, bool)

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

func (*Resource) StateMust

func (alba *Resource) StateMust() *awsLexBotAliasState

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

func (*Resource) Type

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