Documentation ¶
Index ¶
- type ActivatedRule
- type ActivatedRuleAction
- type ActivatedRuleActionAttributes
- func (a ActivatedRuleActionAttributes) InternalRef() (terra.Reference, error)
- func (a ActivatedRuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a ActivatedRuleActionAttributes) InternalWithRef(ref terra.Reference) ActivatedRuleActionAttributes
- func (a ActivatedRuleActionAttributes) Type() terra.StringValue
- type ActivatedRuleActionState
- type ActivatedRuleAttributes
- func (ar ActivatedRuleAttributes) Action() terra.ListValue[ActivatedRuleActionAttributes]
- func (ar ActivatedRuleAttributes) InternalRef() (terra.Reference, error)
- func (ar ActivatedRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ar ActivatedRuleAttributes) InternalWithRef(ref terra.Reference) ActivatedRuleAttributes
- func (ar ActivatedRuleAttributes) Priority() terra.NumberValue
- func (ar ActivatedRuleAttributes) RuleId() terra.StringValue
- func (ar ActivatedRuleAttributes) Type() terra.StringValue
- type ActivatedRuleState
- type Args
- type Resource
- func (awrg *Resource) Attributes() awsWafregionalRuleGroupAttributes
- func (awrg *Resource) Configuration() interface{}
- func (awrg *Resource) DependOn() terra.Reference
- func (awrg *Resource) Dependencies() terra.Dependencies
- func (awrg *Resource) ImportState(state io.Reader) error
- func (awrg *Resource) LifecycleManagement() *terra.Lifecycle
- func (awrg *Resource) LocalName() string
- func (awrg *Resource) State() (*awsWafregionalRuleGroupState, bool)
- func (awrg *Resource) StateMust() *awsWafregionalRuleGroupState
- func (awrg *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivatedRule ¶
type ActivatedRule struct { // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // RuleId: string, required RuleId terra.StringValue `hcl:"rule_id,attr" validate:"required"` // Type: string, optional Type terra.StringValue `hcl:"type,attr"` // ActivatedRuleAction: required Action *ActivatedRuleAction `hcl:"action,block" validate:"required"` }
type ActivatedRuleAction ¶
type ActivatedRuleAction struct { // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type ActivatedRuleActionAttributes ¶
type ActivatedRuleActionAttributes struct {
// contains filtered or unexported fields
}
func (ActivatedRuleActionAttributes) InternalRef ¶
func (a ActivatedRuleActionAttributes) InternalRef() (terra.Reference, error)
func (ActivatedRuleActionAttributes) InternalTokens ¶
func (a ActivatedRuleActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActivatedRuleActionAttributes) InternalWithRef ¶
func (a ActivatedRuleActionAttributes) InternalWithRef(ref terra.Reference) ActivatedRuleActionAttributes
func (ActivatedRuleActionAttributes) Type ¶
func (a ActivatedRuleActionAttributes) Type() terra.StringValue
type ActivatedRuleActionState ¶
type ActivatedRuleActionState struct {
Type string `json:"type"`
}
type ActivatedRuleAttributes ¶
type ActivatedRuleAttributes struct {
// contains filtered or unexported fields
}
func (ActivatedRuleAttributes) Action ¶
func (ar ActivatedRuleAttributes) Action() terra.ListValue[ActivatedRuleActionAttributes]
func (ActivatedRuleAttributes) InternalRef ¶
func (ar ActivatedRuleAttributes) InternalRef() (terra.Reference, error)
func (ActivatedRuleAttributes) InternalTokens ¶
func (ar ActivatedRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActivatedRuleAttributes) InternalWithRef ¶
func (ar ActivatedRuleAttributes) InternalWithRef(ref terra.Reference) ActivatedRuleAttributes
func (ActivatedRuleAttributes) Priority ¶
func (ar ActivatedRuleAttributes) Priority() terra.NumberValue
func (ActivatedRuleAttributes) RuleId ¶
func (ar ActivatedRuleAttributes) RuleId() terra.StringValue
func (ActivatedRuleAttributes) Type ¶
func (ar ActivatedRuleAttributes) Type() terra.StringValue
type ActivatedRuleState ¶
type ActivatedRuleState struct { Priority float64 `json:"priority"` RuleId string `json:"rule_id"` Type string `json:"type"` Action []ActivatedRuleActionState `json:"action"` }
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // MetricName: string, required MetricName terra.StringValue `hcl:"metric_name,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // ActivatedRule: min=0 ActivatedRule []ActivatedRule `hcl:"activated_rule,block" validate:"min=0"` }
Args contains the configurations for aws_wafregional_rule_group.
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_wafregional_rule_group.
func (*Resource) Attributes ¶
func (awrg *Resource) Attributes() awsWafregionalRuleGroupAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (awrg *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (awrg *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.