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 EncryptionConfiguration
- type EncryptionConfigurationAttributes
- func (ec EncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec EncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) EncryptionConfigurationAttributes
- func (ec EncryptionConfigurationAttributes) KeyId() terra.StringValue
- func (ec EncryptionConfigurationAttributes) Type() terra.StringValue
- type EncryptionConfigurationState
- 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: required PublishMetricAction *PublishMetricAction `hcl:"publish_metric_action,block" validate:"required"` }
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 Dimension ¶
type Dimension struct { // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
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 EncryptionConfiguration ¶
type EncryptionConfiguration struct { // KeyId: string, optional KeyId terra.StringValue `hcl:"key_id,attr"` // Type: string, required Type terra.StringValue `hcl:"type,attr" validate:"required"` }
type EncryptionConfigurationAttributes ¶
type EncryptionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionConfigurationAttributes) InternalRef ¶
func (ec EncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (EncryptionConfigurationAttributes) InternalTokens ¶
func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionConfigurationAttributes) InternalWithRef ¶
func (ec EncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) EncryptionConfigurationAttributes
func (EncryptionConfigurationAttributes) KeyId ¶
func (ec EncryptionConfigurationAttributes) KeyId() terra.StringValue
func (EncryptionConfigurationAttributes) Type ¶
func (ec EncryptionConfigurationAttributes) Type() terra.StringValue
type FirewallPolicy ¶
type FirewallPolicy struct { // StatefulDefaultActions: set of string, optional StatefulDefaultActions terra.SetValue[terra.StringValue] `hcl:"stateful_default_actions,attr"` // StatelessDefaultActions: set of string, required StatelessDefaultActions terra.SetValue[terra.StringValue] `hcl:"stateless_default_actions,attr" validate:"required"` // StatelessFragmentDefaultActions: set of string, required StatelessFragmentDefaultActions terra.SetValue[terra.StringValue] `hcl:"stateless_fragment_default_actions,attr" validate:"required"` // StatefulEngineOptions: optional StatefulEngineOptions *StatefulEngineOptions `hcl:"stateful_engine_options,block"` // 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 Override ¶
type Override struct { // Action: string, optional Action terra.StringValue `hcl:"action,attr"` }
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=1 Dimension []Dimension `hcl:"dimension,block" validate:"min=1"` }
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 { // RuleOrder: string, optional RuleOrder terra.StringValue `hcl:"rule_order,attr"` // StreamExceptionPolicy: string, optional StreamExceptionPolicy terra.StringValue `hcl:"stream_exception_policy,attr"` }
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 { // Priority: number, optional Priority terra.NumberValue `hcl:"priority,attr"` // ResourceArn: string, required ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"` // Override: optional Override *Override `hcl:"override,block"` }
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 { // ActionName: string, required ActionName terra.StringValue `hcl:"action_name,attr" validate:"required"` // ActionDefinition: required ActionDefinition *ActionDefinition `hcl:"action_definition,block" validate:"required"` }
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 { // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // ResourceArn: string, required ResourceArn terra.StringValue `hcl:"resource_arn,attr" validate:"required"` }
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.