Documentation
¶
Index ¶
- type Args
- type ConversationLogs
- type ConversationLogsAttributes
- func (cl ConversationLogsAttributes) IamRoleArn() terra.StringValue
- func (cl ConversationLogsAttributes) InternalRef() (terra.Reference, error)
- func (cl ConversationLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cl ConversationLogsAttributes) InternalWithRef(ref terra.Reference) ConversationLogsAttributes
- func (cl ConversationLogsAttributes) LogSettings() terra.SetValue[ConversationLogsLogSettingsAttributes]
- type ConversationLogsLogSettings
- type ConversationLogsLogSettingsAttributes
- func (ls ConversationLogsLogSettingsAttributes) Destination() terra.StringValue
- func (ls ConversationLogsLogSettingsAttributes) InternalRef() (terra.Reference, error)
- func (ls ConversationLogsLogSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ls ConversationLogsLogSettingsAttributes) InternalWithRef(ref terra.Reference) ConversationLogsLogSettingsAttributes
- func (ls ConversationLogsLogSettingsAttributes) KmsKeyArn() terra.StringValue
- func (ls ConversationLogsLogSettingsAttributes) LogType() terra.StringValue
- func (ls ConversationLogsLogSettingsAttributes) ResourceArn() terra.StringValue
- func (ls ConversationLogsLogSettingsAttributes) ResourcePrefix() terra.StringValue
- type ConversationLogsLogSettingsState
- type ConversationLogsState
- type DataArgs
- type DataSource
- type Resource
- func (alba *Resource) Attributes() awsLexBotAliasAttributes
- func (alba *Resource) Configuration() interface{}
- func (alba *Resource) DependOn() terra.Reference
- func (alba *Resource) Dependencies() terra.Dependencies
- func (alba *Resource) ImportState(state io.Reader) error
- func (alba *Resource) LifecycleManagement() *terra.Lifecycle
- func (alba *Resource) LocalName() string
- func (alba *Resource) State() (*awsLexBotAliasState, bool)
- func (alba *Resource) StateMust() *awsLexBotAliasState
- func (alba *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 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 (cl ConversationLogsAttributes) IamRoleArn() terra.StringValue
func (ConversationLogsAttributes) InternalRef ¶
func (cl ConversationLogsAttributes) InternalRef() (terra.Reference, error)
func (ConversationLogsAttributes) InternalTokens ¶
func (cl ConversationLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConversationLogsAttributes) InternalWithRef ¶
func (cl ConversationLogsAttributes) InternalWithRef(ref terra.Reference) ConversationLogsAttributes
func (ConversationLogsAttributes) LogSettings ¶
func (cl ConversationLogsAttributes) LogSettings() terra.SetValue[ConversationLogsLogSettingsAttributes]
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 (ls ConversationLogsLogSettingsAttributes) Destination() terra.StringValue
func (ConversationLogsLogSettingsAttributes) InternalRef ¶
func (ls ConversationLogsLogSettingsAttributes) InternalRef() (terra.Reference, error)
func (ConversationLogsLogSettingsAttributes) InternalTokens ¶
func (ls ConversationLogsLogSettingsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConversationLogsLogSettingsAttributes) InternalWithRef ¶
func (ls ConversationLogsLogSettingsAttributes) InternalWithRef(ref terra.Reference) ConversationLogsLogSettingsAttributes
func (ConversationLogsLogSettingsAttributes) KmsKeyArn ¶
func (ls ConversationLogsLogSettingsAttributes) KmsKeyArn() terra.StringValue
func (ConversationLogsLogSettingsAttributes) LogType ¶
func (ls ConversationLogsLogSettingsAttributes) LogType() terra.StringValue
func (ConversationLogsLogSettingsAttributes) ResourceArn ¶
func (ls ConversationLogsLogSettingsAttributes) ResourceArn() terra.StringValue
func (ConversationLogsLogSettingsAttributes) ResourcePrefix ¶
func (ls ConversationLogsLogSettingsAttributes) ResourcePrefix() terra.StringValue
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 ¶
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 (*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) Dependencies ¶
func (alba *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