Documentation ¶
Index ¶
- type Args
- type DestinationConfig
- type DestinationConfigAttributes
- func (dc DestinationConfigAttributes) InternalRef() (terra.Reference, error)
- func (dc DestinationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dc DestinationConfigAttributes) InternalWithRef(ref terra.Reference) DestinationConfigAttributes
- func (dc DestinationConfigAttributes) OnFailure() terra.ListValue[DestinationConfigOnFailureAttributes]
- func (dc DestinationConfigAttributes) OnSuccess() terra.ListValue[DestinationConfigOnSuccessAttributes]
- type DestinationConfigOnFailure
- type DestinationConfigOnFailureAttributes
- func (of DestinationConfigOnFailureAttributes) Destination() terra.StringValue
- func (of DestinationConfigOnFailureAttributes) InternalRef() (terra.Reference, error)
- func (of DestinationConfigOnFailureAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (of DestinationConfigOnFailureAttributes) InternalWithRef(ref terra.Reference) DestinationConfigOnFailureAttributes
- type DestinationConfigOnFailureState
- type DestinationConfigOnSuccess
- type DestinationConfigOnSuccessAttributes
- func (os DestinationConfigOnSuccessAttributes) Destination() terra.StringValue
- func (os DestinationConfigOnSuccessAttributes) InternalRef() (terra.Reference, error)
- func (os DestinationConfigOnSuccessAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (os DestinationConfigOnSuccessAttributes) InternalWithRef(ref terra.Reference) DestinationConfigOnSuccessAttributes
- type DestinationConfigOnSuccessState
- type DestinationConfigState
- type Resource
- func (alfeic *Resource) Attributes() awsLambdaFunctionEventInvokeConfigAttributes
- func (alfeic *Resource) Configuration() interface{}
- func (alfeic *Resource) DependOn() terra.Reference
- func (alfeic *Resource) Dependencies() terra.Dependencies
- func (alfeic *Resource) ImportState(state io.Reader) error
- func (alfeic *Resource) LifecycleManagement() *terra.Lifecycle
- func (alfeic *Resource) LocalName() string
- func (alfeic *Resource) State() (*awsLambdaFunctionEventInvokeConfigState, bool)
- func (alfeic *Resource) StateMust() *awsLambdaFunctionEventInvokeConfigState
- func (alfeic *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // FunctionName: string, required FunctionName terra.StringValue `hcl:"function_name,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MaximumEventAgeInSeconds: number, optional MaximumEventAgeInSeconds terra.NumberValue `hcl:"maximum_event_age_in_seconds,attr"` // MaximumRetryAttempts: number, optional MaximumRetryAttempts terra.NumberValue `hcl:"maximum_retry_attempts,attr"` // Qualifier: string, optional Qualifier terra.StringValue `hcl:"qualifier,attr"` // DestinationConfig: optional DestinationConfig *DestinationConfig `hcl:"destination_config,block"` }
Args contains the configurations for aws_lambda_function_event_invoke_config.
type DestinationConfig ¶
type DestinationConfig struct { // DestinationConfigOnFailure: optional OnFailure *DestinationConfigOnFailure `hcl:"on_failure,block"` // DestinationConfigOnSuccess: optional OnSuccess *DestinationConfigOnSuccess `hcl:"on_success,block"` }
type DestinationConfigAttributes ¶
type DestinationConfigAttributes struct {
// contains filtered or unexported fields
}
func (DestinationConfigAttributes) InternalRef ¶
func (dc DestinationConfigAttributes) InternalRef() (terra.Reference, error)
func (DestinationConfigAttributes) InternalTokens ¶
func (dc DestinationConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationConfigAttributes) InternalWithRef ¶
func (dc DestinationConfigAttributes) InternalWithRef(ref terra.Reference) DestinationConfigAttributes
func (DestinationConfigAttributes) OnFailure ¶
func (dc DestinationConfigAttributes) OnFailure() terra.ListValue[DestinationConfigOnFailureAttributes]
func (DestinationConfigAttributes) OnSuccess ¶
func (dc DestinationConfigAttributes) OnSuccess() terra.ListValue[DestinationConfigOnSuccessAttributes]
type DestinationConfigOnFailure ¶
type DestinationConfigOnFailure struct { // Destination: string, required Destination terra.StringValue `hcl:"destination,attr" validate:"required"` }
type DestinationConfigOnFailureAttributes ¶
type DestinationConfigOnFailureAttributes struct {
// contains filtered or unexported fields
}
func (DestinationConfigOnFailureAttributes) Destination ¶
func (of DestinationConfigOnFailureAttributes) Destination() terra.StringValue
func (DestinationConfigOnFailureAttributes) InternalRef ¶
func (of DestinationConfigOnFailureAttributes) InternalRef() (terra.Reference, error)
func (DestinationConfigOnFailureAttributes) InternalTokens ¶
func (of DestinationConfigOnFailureAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationConfigOnFailureAttributes) InternalWithRef ¶
func (of DestinationConfigOnFailureAttributes) InternalWithRef(ref terra.Reference) DestinationConfigOnFailureAttributes
type DestinationConfigOnFailureState ¶
type DestinationConfigOnFailureState struct {
Destination string `json:"destination"`
}
type DestinationConfigOnSuccess ¶
type DestinationConfigOnSuccess struct { // Destination: string, required Destination terra.StringValue `hcl:"destination,attr" validate:"required"` }
type DestinationConfigOnSuccessAttributes ¶
type DestinationConfigOnSuccessAttributes struct {
// contains filtered or unexported fields
}
func (DestinationConfigOnSuccessAttributes) Destination ¶
func (os DestinationConfigOnSuccessAttributes) Destination() terra.StringValue
func (DestinationConfigOnSuccessAttributes) InternalRef ¶
func (os DestinationConfigOnSuccessAttributes) InternalRef() (terra.Reference, error)
func (DestinationConfigOnSuccessAttributes) InternalTokens ¶
func (os DestinationConfigOnSuccessAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationConfigOnSuccessAttributes) InternalWithRef ¶
func (os DestinationConfigOnSuccessAttributes) InternalWithRef(ref terra.Reference) DestinationConfigOnSuccessAttributes
type DestinationConfigOnSuccessState ¶
type DestinationConfigOnSuccessState struct {
Destination string `json:"destination"`
}
type DestinationConfigState ¶
type DestinationConfigState struct { OnFailure []DestinationConfigOnFailureState `json:"on_failure"` OnSuccess []DestinationConfigOnSuccessState `json:"on_success"` }
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_lambda_function_event_invoke_config.
func (*Resource) Attributes ¶
func (alfeic *Resource) Attributes() awsLambdaFunctionEventInvokeConfigAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (alfeic *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (alfeic *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.
Click to show internal directories.
Click to hide internal directories.