Documentation ¶
Index ¶
- type AbortStatement
- type AbortStatementAttributes
- func (as AbortStatementAttributes) InternalRef() (terra.Reference, error)
- func (as AbortStatementAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as AbortStatementAttributes) InternalWithRef(ref terra.Reference) AbortStatementAttributes
- func (as AbortStatementAttributes) Message() terra.SetValue[AbortStatementMessageAttributes]
- func (as AbortStatementAttributes) ResponseCard() terra.StringValue
- type AbortStatementMessage
- type AbortStatementMessageAttributes
- func (m AbortStatementMessageAttributes) Content() terra.StringValue
- func (m AbortStatementMessageAttributes) ContentType() terra.StringValue
- func (m AbortStatementMessageAttributes) GroupNumber() terra.NumberValue
- func (m AbortStatementMessageAttributes) InternalRef() (terra.Reference, error)
- func (m AbortStatementMessageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m AbortStatementMessageAttributes) InternalWithRef(ref terra.Reference) AbortStatementMessageAttributes
- type AbortStatementMessageState
- type AbortStatementState
- type Args
- type ClarificationPrompt
- type ClarificationPromptAttributes
- func (cp ClarificationPromptAttributes) InternalRef() (terra.Reference, error)
- func (cp ClarificationPromptAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cp ClarificationPromptAttributes) InternalWithRef(ref terra.Reference) ClarificationPromptAttributes
- func (cp ClarificationPromptAttributes) MaxAttempts() terra.NumberValue
- func (cp ClarificationPromptAttributes) Message() terra.SetValue[ClarificationPromptMessageAttributes]
- func (cp ClarificationPromptAttributes) ResponseCard() terra.StringValue
- type ClarificationPromptMessage
- type ClarificationPromptMessageAttributes
- func (m ClarificationPromptMessageAttributes) Content() terra.StringValue
- func (m ClarificationPromptMessageAttributes) ContentType() terra.StringValue
- func (m ClarificationPromptMessageAttributes) GroupNumber() terra.NumberValue
- func (m ClarificationPromptMessageAttributes) InternalRef() (terra.Reference, error)
- func (m ClarificationPromptMessageAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m ClarificationPromptMessageAttributes) InternalWithRef(ref terra.Reference) ClarificationPromptMessageAttributes
- type ClarificationPromptMessageState
- type ClarificationPromptState
- type DataArgs
- type DataSource
- type Intent
- type IntentAttributes
- func (i IntentAttributes) IntentName() terra.StringValue
- func (i IntentAttributes) IntentVersion() terra.StringValue
- func (i IntentAttributes) InternalRef() (terra.Reference, error)
- func (i IntentAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IntentAttributes) InternalWithRef(ref terra.Reference) IntentAttributes
- type IntentState
- type Resource
- func (alb *Resource) Attributes() awsLexBotAttributes
- func (alb *Resource) Configuration() interface{}
- func (alb *Resource) DependOn() terra.Reference
- func (alb *Resource) Dependencies() terra.Dependencies
- func (alb *Resource) ImportState(state io.Reader) error
- func (alb *Resource) LifecycleManagement() *terra.Lifecycle
- func (alb *Resource) LocalName() string
- func (alb *Resource) State() (*awsLexBotState, bool)
- func (alb *Resource) StateMust() *awsLexBotState
- func (alb *Resource) Type() string
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortStatement ¶
type AbortStatement struct { // ResponseCard: string, optional ResponseCard terra.StringValue `hcl:"response_card,attr"` // AbortStatementMessage: min=1,max=15 Message []AbortStatementMessage `hcl:"message,block" validate:"min=1,max=15"` }
type AbortStatementAttributes ¶
type AbortStatementAttributes struct {
// contains filtered or unexported fields
}
func (AbortStatementAttributes) InternalRef ¶
func (as AbortStatementAttributes) InternalRef() (terra.Reference, error)
func (AbortStatementAttributes) InternalTokens ¶
func (as AbortStatementAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AbortStatementAttributes) InternalWithRef ¶
func (as AbortStatementAttributes) InternalWithRef(ref terra.Reference) AbortStatementAttributes
func (AbortStatementAttributes) Message ¶
func (as AbortStatementAttributes) Message() terra.SetValue[AbortStatementMessageAttributes]
func (AbortStatementAttributes) ResponseCard ¶
func (as AbortStatementAttributes) ResponseCard() terra.StringValue
type AbortStatementMessage ¶
type AbortStatementMessage struct { // Content: string, required Content terra.StringValue `hcl:"content,attr" validate:"required"` // ContentType: string, required ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"` // GroupNumber: number, optional GroupNumber terra.NumberValue `hcl:"group_number,attr"` }
type AbortStatementMessageAttributes ¶
type AbortStatementMessageAttributes struct {
// contains filtered or unexported fields
}
func (AbortStatementMessageAttributes) Content ¶
func (m AbortStatementMessageAttributes) Content() terra.StringValue
func (AbortStatementMessageAttributes) ContentType ¶
func (m AbortStatementMessageAttributes) ContentType() terra.StringValue
func (AbortStatementMessageAttributes) GroupNumber ¶
func (m AbortStatementMessageAttributes) GroupNumber() terra.NumberValue
func (AbortStatementMessageAttributes) InternalRef ¶
func (m AbortStatementMessageAttributes) InternalRef() (terra.Reference, error)
func (AbortStatementMessageAttributes) InternalTokens ¶
func (m AbortStatementMessageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AbortStatementMessageAttributes) InternalWithRef ¶
func (m AbortStatementMessageAttributes) InternalWithRef(ref terra.Reference) AbortStatementMessageAttributes
type AbortStatementState ¶
type AbortStatementState struct { ResponseCard string `json:"response_card"` Message []AbortStatementMessageState `json:"message"` }
type Args ¶
type Args struct { // ChildDirected: bool, required ChildDirected terra.BoolValue `hcl:"child_directed,attr" validate:"required"` // CreateVersion: bool, optional CreateVersion terra.BoolValue `hcl:"create_version,attr"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DetectSentiment: bool, optional DetectSentiment terra.BoolValue `hcl:"detect_sentiment,attr"` // EnableModelImprovements: bool, optional EnableModelImprovements terra.BoolValue `hcl:"enable_model_improvements,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IdleSessionTtlInSeconds: number, optional IdleSessionTtlInSeconds terra.NumberValue `hcl:"idle_session_ttl_in_seconds,attr"` // Locale: string, optional Locale terra.StringValue `hcl:"locale,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // NluIntentConfidenceThreshold: number, optional NluIntentConfidenceThreshold terra.NumberValue `hcl:"nlu_intent_confidence_threshold,attr"` // ProcessBehavior: string, optional ProcessBehavior terra.StringValue `hcl:"process_behavior,attr"` // VoiceId: string, optional VoiceId terra.StringValue `hcl:"voice_id,attr"` // AbortStatement: required AbortStatement *AbortStatement `hcl:"abort_statement,block" validate:"required"` // ClarificationPrompt: optional ClarificationPrompt *ClarificationPrompt `hcl:"clarification_prompt,block"` // Intent: min=1,max=250 Intent []Intent `hcl:"intent,block" validate:"min=1,max=250"` // Timeouts: optional Timeouts *Timeouts `hcl:"timeouts,block"` }
Args contains the configurations for aws_lex_bot.
type ClarificationPrompt ¶
type ClarificationPrompt struct { // MaxAttempts: number, required MaxAttempts terra.NumberValue `hcl:"max_attempts,attr" validate:"required"` // ResponseCard: string, optional ResponseCard terra.StringValue `hcl:"response_card,attr"` // ClarificationPromptMessage: min=1,max=15 Message []ClarificationPromptMessage `hcl:"message,block" validate:"min=1,max=15"` }
type ClarificationPromptAttributes ¶
type ClarificationPromptAttributes struct {
// contains filtered or unexported fields
}
func (ClarificationPromptAttributes) InternalRef ¶
func (cp ClarificationPromptAttributes) InternalRef() (terra.Reference, error)
func (ClarificationPromptAttributes) InternalTokens ¶
func (cp ClarificationPromptAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClarificationPromptAttributes) InternalWithRef ¶
func (cp ClarificationPromptAttributes) InternalWithRef(ref terra.Reference) ClarificationPromptAttributes
func (ClarificationPromptAttributes) MaxAttempts ¶
func (cp ClarificationPromptAttributes) MaxAttempts() terra.NumberValue
func (ClarificationPromptAttributes) Message ¶
func (cp ClarificationPromptAttributes) Message() terra.SetValue[ClarificationPromptMessageAttributes]
func (ClarificationPromptAttributes) ResponseCard ¶
func (cp ClarificationPromptAttributes) ResponseCard() terra.StringValue
type ClarificationPromptMessage ¶
type ClarificationPromptMessage struct { // Content: string, required Content terra.StringValue `hcl:"content,attr" validate:"required"` // ContentType: string, required ContentType terra.StringValue `hcl:"content_type,attr" validate:"required"` // GroupNumber: number, optional GroupNumber terra.NumberValue `hcl:"group_number,attr"` }
type ClarificationPromptMessageAttributes ¶
type ClarificationPromptMessageAttributes struct {
// contains filtered or unexported fields
}
func (ClarificationPromptMessageAttributes) Content ¶
func (m ClarificationPromptMessageAttributes) Content() terra.StringValue
func (ClarificationPromptMessageAttributes) ContentType ¶
func (m ClarificationPromptMessageAttributes) ContentType() terra.StringValue
func (ClarificationPromptMessageAttributes) GroupNumber ¶
func (m ClarificationPromptMessageAttributes) GroupNumber() terra.NumberValue
func (ClarificationPromptMessageAttributes) InternalRef ¶
func (m ClarificationPromptMessageAttributes) InternalRef() (terra.Reference, error)
func (ClarificationPromptMessageAttributes) InternalTokens ¶
func (m ClarificationPromptMessageAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ClarificationPromptMessageAttributes) InternalWithRef ¶
func (m ClarificationPromptMessageAttributes) InternalWithRef(ref terra.Reference) ClarificationPromptMessageAttributes
type ClarificationPromptState ¶
type ClarificationPromptState struct { MaxAttempts float64 `json:"max_attempts"` ResponseCard string `json:"response_card"` Message []ClarificationPromptMessageState `json:"message"` }
type DataArgs ¶
type DataArgs struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Version: string, optional Version terra.StringValue `hcl:"version,attr"` }
DataArgs contains the configurations for aws_lex_bot.
type DataSource ¶
DataSource represents the Terraform data resource aws_lex_bot.
func Data ¶
func Data(name string, args DataArgs) *DataSource
Data creates a new instance of DataSource.
func (*DataSource) Attributes ¶
func (alb *DataSource) Attributes() dataAwsLexBotAttributes
Attributes returns the attributes for DataSource.
func (*DataSource) Configuration ¶
func (alb *DataSource) Configuration() interface{}
Configuration returns the configuration (args) for DataSource.
func (*DataSource) DataSource ¶
func (alb *DataSource) DataSource() string
DataSource returns the Terraform object type for DataSource.
func (*DataSource) LocalName ¶
func (alb *DataSource) LocalName() string
LocalName returns the local name for DataSource.
type Intent ¶
type Intent struct { // IntentName: string, required IntentName terra.StringValue `hcl:"intent_name,attr" validate:"required"` // IntentVersion: string, required IntentVersion terra.StringValue `hcl:"intent_version,attr" validate:"required"` }
type IntentAttributes ¶
type IntentAttributes struct {
// contains filtered or unexported fields
}
func (IntentAttributes) IntentName ¶
func (i IntentAttributes) IntentName() terra.StringValue
func (IntentAttributes) IntentVersion ¶
func (i IntentAttributes) IntentVersion() terra.StringValue
func (IntentAttributes) InternalRef ¶
func (i IntentAttributes) InternalRef() (terra.Reference, error)
func (IntentAttributes) InternalTokens ¶
func (i IntentAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IntentAttributes) InternalWithRef ¶
func (i IntentAttributes) InternalWithRef(ref terra.Reference) IntentAttributes
type IntentState ¶
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.
func (*Resource) Attributes ¶
func (alb *Resource) Attributes() awsLexBotAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (alb *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (alb *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block 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 (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
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 ¶
func (t TimeoutsAttributes) Update() terra.StringValue