Documentation
¶
Index ¶
- type Args
- type LambdaFunction
- type LambdaFunctionAttributes
- func (lf LambdaFunctionAttributes) Events() terra.SetValue[terra.StringValue]
- func (lf LambdaFunctionAttributes) FilterPrefix() terra.StringValue
- func (lf LambdaFunctionAttributes) FilterSuffix() terra.StringValue
- func (lf LambdaFunctionAttributes) Id() terra.StringValue
- func (lf LambdaFunctionAttributes) InternalRef() (terra.Reference, error)
- func (lf LambdaFunctionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (lf LambdaFunctionAttributes) InternalWithRef(ref terra.Reference) LambdaFunctionAttributes
- func (lf LambdaFunctionAttributes) LambdaFunctionArn() terra.StringValue
- type LambdaFunctionState
- type Queue
- type QueueAttributes
- func (q QueueAttributes) Events() terra.SetValue[terra.StringValue]
- func (q QueueAttributes) FilterPrefix() terra.StringValue
- func (q QueueAttributes) FilterSuffix() terra.StringValue
- func (q QueueAttributes) Id() terra.StringValue
- func (q QueueAttributes) InternalRef() (terra.Reference, error)
- func (q QueueAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (q QueueAttributes) InternalWithRef(ref terra.Reference) QueueAttributes
- func (q QueueAttributes) QueueArn() terra.StringValue
- type QueueState
- type Resource
- func (asbn *Resource) Attributes() awsS3BucketNotificationAttributes
- func (asbn *Resource) Configuration() interface{}
- func (asbn *Resource) DependOn() terra.Reference
- func (asbn *Resource) Dependencies() terra.Dependencies
- func (asbn *Resource) ImportState(state io.Reader) error
- func (asbn *Resource) LifecycleManagement() *terra.Lifecycle
- func (asbn *Resource) LocalName() string
- func (asbn *Resource) State() (*awsS3BucketNotificationState, bool)
- func (asbn *Resource) StateMust() *awsS3BucketNotificationState
- func (asbn *Resource) Type() string
- type Topic
- type TopicAttributes
- func (t TopicAttributes) Events() terra.SetValue[terra.StringValue]
- func (t TopicAttributes) FilterPrefix() terra.StringValue
- func (t TopicAttributes) FilterSuffix() terra.StringValue
- func (t TopicAttributes) Id() terra.StringValue
- func (t TopicAttributes) InternalRef() (terra.Reference, error)
- func (t TopicAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TopicAttributes) InternalWithRef(ref terra.Reference) TopicAttributes
- func (t TopicAttributes) TopicArn() terra.StringValue
- type TopicState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // Eventbridge: bool, optional Eventbridge terra.BoolValue `hcl:"eventbridge,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LambdaFunction: min=0 LambdaFunction []LambdaFunction `hcl:"lambda_function,block" validate:"min=0"` // Queue: min=0 Queue []Queue `hcl:"queue,block" validate:"min=0"` // Topic: min=0 Topic []Topic `hcl:"topic,block" validate:"min=0"` }
Args contains the configurations for aws_s3_bucket_notification.
type LambdaFunction ¶
type LambdaFunction struct { // Events: set of string, required Events terra.SetValue[terra.StringValue] `hcl:"events,attr" validate:"required"` // FilterPrefix: string, optional FilterPrefix terra.StringValue `hcl:"filter_prefix,attr"` // FilterSuffix: string, optional FilterSuffix terra.StringValue `hcl:"filter_suffix,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // LambdaFunctionArn: string, optional LambdaFunctionArn terra.StringValue `hcl:"lambda_function_arn,attr"` }
type LambdaFunctionAttributes ¶
type LambdaFunctionAttributes struct {
// contains filtered or unexported fields
}
func (LambdaFunctionAttributes) Events ¶
func (lf LambdaFunctionAttributes) Events() terra.SetValue[terra.StringValue]
func (LambdaFunctionAttributes) FilterPrefix ¶
func (lf LambdaFunctionAttributes) FilterPrefix() terra.StringValue
func (LambdaFunctionAttributes) FilterSuffix ¶
func (lf LambdaFunctionAttributes) FilterSuffix() terra.StringValue
func (LambdaFunctionAttributes) Id ¶
func (lf LambdaFunctionAttributes) Id() terra.StringValue
func (LambdaFunctionAttributes) InternalRef ¶
func (lf LambdaFunctionAttributes) InternalRef() (terra.Reference, error)
func (LambdaFunctionAttributes) InternalTokens ¶
func (lf LambdaFunctionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (LambdaFunctionAttributes) InternalWithRef ¶
func (lf LambdaFunctionAttributes) InternalWithRef(ref terra.Reference) LambdaFunctionAttributes
func (LambdaFunctionAttributes) LambdaFunctionArn ¶
func (lf LambdaFunctionAttributes) LambdaFunctionArn() terra.StringValue
type LambdaFunctionState ¶
type Queue ¶
type Queue struct { // Events: set of string, required Events terra.SetValue[terra.StringValue] `hcl:"events,attr" validate:"required"` // FilterPrefix: string, optional FilterPrefix terra.StringValue `hcl:"filter_prefix,attr"` // FilterSuffix: string, optional FilterSuffix terra.StringValue `hcl:"filter_suffix,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // QueueArn: string, required QueueArn terra.StringValue `hcl:"queue_arn,attr" validate:"required"` }
type QueueAttributes ¶
type QueueAttributes struct {
// contains filtered or unexported fields
}
func (QueueAttributes) Events ¶
func (q QueueAttributes) Events() terra.SetValue[terra.StringValue]
func (QueueAttributes) FilterPrefix ¶
func (q QueueAttributes) FilterPrefix() terra.StringValue
func (QueueAttributes) FilterSuffix ¶
func (q QueueAttributes) FilterSuffix() terra.StringValue
func (QueueAttributes) Id ¶
func (q QueueAttributes) Id() terra.StringValue
func (QueueAttributes) InternalRef ¶
func (q QueueAttributes) InternalRef() (terra.Reference, error)
func (QueueAttributes) InternalTokens ¶
func (q QueueAttributes) InternalTokens() (hclwrite.Tokens, error)
func (QueueAttributes) InternalWithRef ¶
func (q QueueAttributes) InternalWithRef(ref terra.Reference) QueueAttributes
func (QueueAttributes) QueueArn ¶
func (q QueueAttributes) QueueArn() terra.StringValue
type QueueState ¶
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_s3_bucket_notification.
func (*Resource) Attributes ¶
func (asbn *Resource) Attributes() awsS3BucketNotificationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asbn *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asbn *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 Topic ¶
type Topic struct { // Events: set of string, required Events terra.SetValue[terra.StringValue] `hcl:"events,attr" validate:"required"` // FilterPrefix: string, optional FilterPrefix terra.StringValue `hcl:"filter_prefix,attr"` // FilterSuffix: string, optional FilterSuffix terra.StringValue `hcl:"filter_suffix,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // TopicArn: string, required TopicArn terra.StringValue `hcl:"topic_arn,attr" validate:"required"` }
type TopicAttributes ¶
type TopicAttributes struct {
// contains filtered or unexported fields
}
func (TopicAttributes) Events ¶
func (t TopicAttributes) Events() terra.SetValue[terra.StringValue]
func (TopicAttributes) FilterPrefix ¶
func (t TopicAttributes) FilterPrefix() terra.StringValue
func (TopicAttributes) FilterSuffix ¶
func (t TopicAttributes) FilterSuffix() terra.StringValue
func (TopicAttributes) Id ¶
func (t TopicAttributes) Id() terra.StringValue
func (TopicAttributes) InternalRef ¶
func (t TopicAttributes) InternalRef() (terra.Reference, error)
func (TopicAttributes) InternalTokens ¶
func (t TopicAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TopicAttributes) InternalWithRef ¶
func (t TopicAttributes) InternalWithRef(ref terra.Reference) TopicAttributes
func (TopicAttributes) TopicArn ¶
func (t TopicAttributes) TopicArn() terra.StringValue
Click to show internal directories.
Click to hide internal directories.