Documentation ¶
Index ¶
- type ActionDefinition
- type ActionDefinitionAttributes
- func (ad ActionDefinitionAttributes) InternalRef() (terra.Reference, error)
- func (ad ActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ad ActionDefinitionAttributes) InternalWithRef(ref terra.Reference) ActionDefinitionAttributes
- func (ad ActionDefinitionAttributes) PublishMetricAction() terra.ListValue[PublishMetricActionAttributes]
- type ActionDefinitionState
- type Dimension
- type DimensionAttributes
- type DimensionState
- type FirewallPolicy
- type FirewallPolicyAttributes
- func (fp FirewallPolicyAttributes) InternalRef() (terra.Reference, error)
- func (fp FirewallPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fp FirewallPolicyAttributes) InternalWithRef(ref terra.Reference) FirewallPolicyAttributes
- func (fp FirewallPolicyAttributes) StatefulDefaultActions() terra.SetValue[terra.StringValue]
- func (fp FirewallPolicyAttributes) StatefulEngineOptions() terra.ListValue[StatefulEngineOptionsAttributes]
- func (fp FirewallPolicyAttributes) StatefulRuleGroupReference() terra.SetValue[StatefulRuleGroupReferenceAttributes]
- func (fp FirewallPolicyAttributes) StatelessCustomAction() terra.SetValue[StatelessCustomActionAttributes]
- func (fp FirewallPolicyAttributes) StatelessDefaultActions() terra.SetValue[terra.StringValue]
- func (fp FirewallPolicyAttributes) StatelessFragmentDefaultActions() terra.SetValue[terra.StringValue]
- func (fp FirewallPolicyAttributes) StatelessRuleGroupReference() terra.SetValue[StatelessRuleGroupReferenceAttributes]
- type FirewallPolicyState
- type Override
- type OverrideAttributes
- type OverrideState
- type PublishMetricAction
- type PublishMetricActionAttributes
- func (pma PublishMetricActionAttributes) Dimension() terra.SetValue[DimensionAttributes]
- func (pma PublishMetricActionAttributes) InternalRef() (terra.Reference, error)
- func (pma PublishMetricActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pma PublishMetricActionAttributes) InternalWithRef(ref terra.Reference) PublishMetricActionAttributes
- type PublishMetricActionState
- type StatefulEngineOptions
- type StatefulEngineOptionsAttributes
- func (seo StatefulEngineOptionsAttributes) InternalRef() (terra.Reference, error)
- func (seo StatefulEngineOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (seo StatefulEngineOptionsAttributes) InternalWithRef(ref terra.Reference) StatefulEngineOptionsAttributes
- func (seo StatefulEngineOptionsAttributes) RuleOrder() terra.StringValue
- func (seo StatefulEngineOptionsAttributes) StreamExceptionPolicy() terra.StringValue
- type StatefulEngineOptionsState
- type StatefulRuleGroupReference
- type StatefulRuleGroupReferenceAttributes
- func (srgr StatefulRuleGroupReferenceAttributes) InternalRef() (terra.Reference, error)
- func (srgr StatefulRuleGroupReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (srgr StatefulRuleGroupReferenceAttributes) InternalWithRef(ref terra.Reference) StatefulRuleGroupReferenceAttributes
- func (srgr StatefulRuleGroupReferenceAttributes) Override() terra.ListValue[OverrideAttributes]
- func (srgr StatefulRuleGroupReferenceAttributes) Priority() terra.NumberValue
- func (srgr StatefulRuleGroupReferenceAttributes) ResourceArn() terra.StringValue
- type StatefulRuleGroupReferenceState
- type StatelessCustomAction
- type StatelessCustomActionAttributes
- func (sca StatelessCustomActionAttributes) ActionDefinition() terra.ListValue[ActionDefinitionAttributes]
- func (sca StatelessCustomActionAttributes) ActionName() terra.StringValue
- func (sca StatelessCustomActionAttributes) InternalRef() (terra.Reference, error)
- func (sca StatelessCustomActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sca StatelessCustomActionAttributes) InternalWithRef(ref terra.Reference) StatelessCustomActionAttributes
- type StatelessCustomActionState
- type StatelessRuleGroupReference
- type StatelessRuleGroupReferenceAttributes
- func (srgr StatelessRuleGroupReferenceAttributes) InternalRef() (terra.Reference, error)
- func (srgr StatelessRuleGroupReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (srgr StatelessRuleGroupReferenceAttributes) InternalWithRef(ref terra.Reference) StatelessRuleGroupReferenceAttributes
- func (srgr StatelessRuleGroupReferenceAttributes) Priority() terra.NumberValue
- func (srgr StatelessRuleGroupReferenceAttributes) ResourceArn() terra.StringValue
- type StatelessRuleGroupReferenceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionDefinition ¶
type ActionDefinition struct { // PublishMetricAction: min=0 PublishMetricAction []PublishMetricAction `hcl:"publish_metric_action,block" validate:"min=0"` }
type ActionDefinitionAttributes ¶
type ActionDefinitionAttributes struct {
// contains filtered or unexported fields
}
func (ActionDefinitionAttributes) InternalRef ¶
func (ad ActionDefinitionAttributes) InternalRef() (terra.Reference, error)
func (ActionDefinitionAttributes) InternalTokens ¶
func (ad ActionDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ActionDefinitionAttributes) InternalWithRef ¶
func (ad ActionDefinitionAttributes) InternalWithRef(ref terra.Reference) ActionDefinitionAttributes
func (ActionDefinitionAttributes) PublishMetricAction ¶
func (ad ActionDefinitionAttributes) PublishMetricAction() terra.ListValue[PublishMetricActionAttributes]
type ActionDefinitionState ¶
type ActionDefinitionState struct {
PublishMetricAction []PublishMetricActionState `json:"publish_metric_action"`
}
type DimensionAttributes ¶
type DimensionAttributes struct {
// contains filtered or unexported fields
}
func (DimensionAttributes) InternalRef ¶
func (d DimensionAttributes) InternalRef() (terra.Reference, error)
func (DimensionAttributes) InternalTokens ¶
func (d DimensionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DimensionAttributes) InternalWithRef ¶
func (d DimensionAttributes) InternalWithRef(ref terra.Reference) DimensionAttributes
func (DimensionAttributes) Value ¶
func (d DimensionAttributes) Value() terra.StringValue
type DimensionState ¶
type DimensionState struct {
Value string `json:"value"`
}
type FirewallPolicy ¶
type FirewallPolicy struct { // StatefulEngineOptions: min=0 StatefulEngineOptions []StatefulEngineOptions `hcl:"stateful_engine_options,block" validate:"min=0"` // StatefulRuleGroupReference: min=0 StatefulRuleGroupReference []StatefulRuleGroupReference `hcl:"stateful_rule_group_reference,block" validate:"min=0"` // StatelessCustomAction: min=0 StatelessCustomAction []StatelessCustomAction `hcl:"stateless_custom_action,block" validate:"min=0"` // StatelessRuleGroupReference: min=0 StatelessRuleGroupReference []StatelessRuleGroupReference `hcl:"stateless_rule_group_reference,block" validate:"min=0"` }
type FirewallPolicyAttributes ¶
type FirewallPolicyAttributes struct {
// contains filtered or unexported fields
}
func (FirewallPolicyAttributes) InternalRef ¶
func (fp FirewallPolicyAttributes) InternalRef() (terra.Reference, error)
func (FirewallPolicyAttributes) InternalTokens ¶
func (fp FirewallPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FirewallPolicyAttributes) InternalWithRef ¶
func (fp FirewallPolicyAttributes) InternalWithRef(ref terra.Reference) FirewallPolicyAttributes
func (FirewallPolicyAttributes) StatefulDefaultActions ¶
func (fp FirewallPolicyAttributes) StatefulDefaultActions() terra.SetValue[terra.StringValue]
func (FirewallPolicyAttributes) StatefulEngineOptions ¶
func (fp FirewallPolicyAttributes) StatefulEngineOptions() terra.ListValue[StatefulEngineOptionsAttributes]
func (FirewallPolicyAttributes) StatefulRuleGroupReference ¶
func (fp FirewallPolicyAttributes) StatefulRuleGroupReference() terra.SetValue[StatefulRuleGroupReferenceAttributes]
func (FirewallPolicyAttributes) StatelessCustomAction ¶
func (fp FirewallPolicyAttributes) StatelessCustomAction() terra.SetValue[StatelessCustomActionAttributes]
func (FirewallPolicyAttributes) StatelessDefaultActions ¶
func (fp FirewallPolicyAttributes) StatelessDefaultActions() terra.SetValue[terra.StringValue]
func (FirewallPolicyAttributes) StatelessFragmentDefaultActions ¶
func (fp FirewallPolicyAttributes) StatelessFragmentDefaultActions() terra.SetValue[terra.StringValue]
func (FirewallPolicyAttributes) StatelessRuleGroupReference ¶
func (fp FirewallPolicyAttributes) StatelessRuleGroupReference() terra.SetValue[StatelessRuleGroupReferenceAttributes]
type FirewallPolicyState ¶
type FirewallPolicyState struct { StatefulDefaultActions []string `json:"stateful_default_actions"` StatelessDefaultActions []string `json:"stateless_default_actions"` StatelessFragmentDefaultActions []string `json:"stateless_fragment_default_actions"` StatefulEngineOptions []StatefulEngineOptionsState `json:"stateful_engine_options"` StatefulRuleGroupReference []StatefulRuleGroupReferenceState `json:"stateful_rule_group_reference"` StatelessCustomAction []StatelessCustomActionState `json:"stateless_custom_action"` StatelessRuleGroupReference []StatelessRuleGroupReferenceState `json:"stateless_rule_group_reference"` }
type OverrideAttributes ¶
type OverrideAttributes struct {
// contains filtered or unexported fields
}
func (OverrideAttributes) Action ¶
func (o OverrideAttributes) Action() terra.StringValue
func (OverrideAttributes) InternalRef ¶
func (o OverrideAttributes) InternalRef() (terra.Reference, error)
func (OverrideAttributes) InternalTokens ¶
func (o OverrideAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OverrideAttributes) InternalWithRef ¶
func (o OverrideAttributes) InternalWithRef(ref terra.Reference) OverrideAttributes
type OverrideState ¶
type OverrideState struct {
Action string `json:"action"`
}
type PublishMetricAction ¶
type PublishMetricAction struct { // Dimension: min=0 Dimension []Dimension `hcl:"dimension,block" validate:"min=0"` }
type PublishMetricActionAttributes ¶
type PublishMetricActionAttributes struct {
// contains filtered or unexported fields
}
func (PublishMetricActionAttributes) Dimension ¶
func (pma PublishMetricActionAttributes) Dimension() terra.SetValue[DimensionAttributes]
func (PublishMetricActionAttributes) InternalRef ¶
func (pma PublishMetricActionAttributes) InternalRef() (terra.Reference, error)
func (PublishMetricActionAttributes) InternalTokens ¶
func (pma PublishMetricActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PublishMetricActionAttributes) InternalWithRef ¶
func (pma PublishMetricActionAttributes) InternalWithRef(ref terra.Reference) PublishMetricActionAttributes
type PublishMetricActionState ¶
type PublishMetricActionState struct {
Dimension []DimensionState `json:"dimension"`
}
type StatefulEngineOptions ¶
type StatefulEngineOptions struct{}
type StatefulEngineOptionsAttributes ¶
type StatefulEngineOptionsAttributes struct {
// contains filtered or unexported fields
}
func (StatefulEngineOptionsAttributes) InternalRef ¶
func (seo StatefulEngineOptionsAttributes) InternalRef() (terra.Reference, error)
func (StatefulEngineOptionsAttributes) InternalTokens ¶
func (seo StatefulEngineOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulEngineOptionsAttributes) InternalWithRef ¶
func (seo StatefulEngineOptionsAttributes) InternalWithRef(ref terra.Reference) StatefulEngineOptionsAttributes
func (StatefulEngineOptionsAttributes) RuleOrder ¶
func (seo StatefulEngineOptionsAttributes) RuleOrder() terra.StringValue
func (StatefulEngineOptionsAttributes) StreamExceptionPolicy ¶
func (seo StatefulEngineOptionsAttributes) StreamExceptionPolicy() terra.StringValue
type StatefulRuleGroupReference ¶
type StatefulRuleGroupReference struct { // Override: min=0 Override []Override `hcl:"override,block" validate:"min=0"` }
type StatefulRuleGroupReferenceAttributes ¶
type StatefulRuleGroupReferenceAttributes struct {
// contains filtered or unexported fields
}
func (StatefulRuleGroupReferenceAttributes) InternalRef ¶
func (srgr StatefulRuleGroupReferenceAttributes) InternalRef() (terra.Reference, error)
func (StatefulRuleGroupReferenceAttributes) InternalTokens ¶
func (srgr StatefulRuleGroupReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulRuleGroupReferenceAttributes) InternalWithRef ¶
func (srgr StatefulRuleGroupReferenceAttributes) InternalWithRef(ref terra.Reference) StatefulRuleGroupReferenceAttributes
func (StatefulRuleGroupReferenceAttributes) Override ¶
func (srgr StatefulRuleGroupReferenceAttributes) Override() terra.ListValue[OverrideAttributes]
func (StatefulRuleGroupReferenceAttributes) Priority ¶
func (srgr StatefulRuleGroupReferenceAttributes) Priority() terra.NumberValue
func (StatefulRuleGroupReferenceAttributes) ResourceArn ¶
func (srgr StatefulRuleGroupReferenceAttributes) ResourceArn() terra.StringValue
type StatefulRuleGroupReferenceState ¶
type StatefulRuleGroupReferenceState struct { Priority float64 `json:"priority"` ResourceArn string `json:"resource_arn"` Override []OverrideState `json:"override"` }
type StatelessCustomAction ¶
type StatelessCustomAction struct { // ActionDefinition: min=0 ActionDefinition []ActionDefinition `hcl:"action_definition,block" validate:"min=0"` }
type StatelessCustomActionAttributes ¶
type StatelessCustomActionAttributes struct {
// contains filtered or unexported fields
}
func (StatelessCustomActionAttributes) ActionDefinition ¶
func (sca StatelessCustomActionAttributes) ActionDefinition() terra.ListValue[ActionDefinitionAttributes]
func (StatelessCustomActionAttributes) ActionName ¶
func (sca StatelessCustomActionAttributes) ActionName() terra.StringValue
func (StatelessCustomActionAttributes) InternalRef ¶
func (sca StatelessCustomActionAttributes) InternalRef() (terra.Reference, error)
func (StatelessCustomActionAttributes) InternalTokens ¶
func (sca StatelessCustomActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatelessCustomActionAttributes) InternalWithRef ¶
func (sca StatelessCustomActionAttributes) InternalWithRef(ref terra.Reference) StatelessCustomActionAttributes
type StatelessCustomActionState ¶
type StatelessCustomActionState struct { ActionName string `json:"action_name"` ActionDefinition []ActionDefinitionState `json:"action_definition"` }
type StatelessRuleGroupReference ¶
type StatelessRuleGroupReference struct{}
type StatelessRuleGroupReferenceAttributes ¶
type StatelessRuleGroupReferenceAttributes struct {
// contains filtered or unexported fields
}
func (StatelessRuleGroupReferenceAttributes) InternalRef ¶
func (srgr StatelessRuleGroupReferenceAttributes) InternalRef() (terra.Reference, error)
func (StatelessRuleGroupReferenceAttributes) InternalTokens ¶
func (srgr StatelessRuleGroupReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatelessRuleGroupReferenceAttributes) InternalWithRef ¶
func (srgr StatelessRuleGroupReferenceAttributes) InternalWithRef(ref terra.Reference) StatelessRuleGroupReferenceAttributes
func (StatelessRuleGroupReferenceAttributes) Priority ¶
func (srgr StatelessRuleGroupReferenceAttributes) Priority() terra.NumberValue
func (StatelessRuleGroupReferenceAttributes) ResourceArn ¶
func (srgr StatelessRuleGroupReferenceAttributes) ResourceArn() terra.StringValue
Click to show internal directories.
Click to hide internal directories.