networkfirewallfirewallpolicy

package
v0.0.0-...-964ba77 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (ActionDefinitionAttributes) PublishMetricAction

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

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 (EncryptionConfigurationAttributes) InternalTokens

func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionConfigurationAttributes) InternalWithRef

func (EncryptionConfigurationAttributes) KeyId

func (EncryptionConfigurationAttributes) Type

type EncryptionConfigurationState

type EncryptionConfigurationState struct {
	KeyId string `json:"key_id"`
	Type  string `json:"type"`
}

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 (FirewallPolicyAttributes) StatefulDefaultActions

func (fp FirewallPolicyAttributes) StatefulDefaultActions() terra.SetValue[terra.StringValue]

func (FirewallPolicyAttributes) StatefulEngineOptions

func (FirewallPolicyAttributes) StatefulRuleGroupReference

func (FirewallPolicyAttributes) StatelessCustomAction

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

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 (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 (PublishMetricActionAttributes) InternalRef

func (pma PublishMetricActionAttributes) InternalRef() (terra.Reference, error)

func (PublishMetricActionAttributes) InternalTokens

func (pma PublishMetricActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PublishMetricActionAttributes) InternalWithRef

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 (StatefulEngineOptionsAttributes) InternalTokens

func (seo StatefulEngineOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StatefulEngineOptionsAttributes) InternalWithRef

func (StatefulEngineOptionsAttributes) RuleOrder

func (StatefulEngineOptionsAttributes) StreamExceptionPolicy

func (seo StatefulEngineOptionsAttributes) StreamExceptionPolicy() terra.StringValue

type StatefulEngineOptionsState

type StatefulEngineOptionsState struct {
	RuleOrder             string `json:"rule_order"`
	StreamExceptionPolicy string `json:"stream_exception_policy"`
}

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 (StatefulRuleGroupReferenceAttributes) InternalTokens

func (srgr StatefulRuleGroupReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StatefulRuleGroupReferenceAttributes) InternalWithRef

func (StatefulRuleGroupReferenceAttributes) Override

func (StatefulRuleGroupReferenceAttributes) Priority

func (StatefulRuleGroupReferenceAttributes) ResourceArn

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 (StatelessCustomActionAttributes) ActionName

func (StatelessCustomActionAttributes) InternalRef

func (StatelessCustomActionAttributes) InternalTokens

func (sca StatelessCustomActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StatelessCustomActionAttributes) InternalWithRef

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 (StatelessRuleGroupReferenceAttributes) InternalTokens

func (StatelessRuleGroupReferenceAttributes) InternalWithRef

func (StatelessRuleGroupReferenceAttributes) Priority

func (StatelessRuleGroupReferenceAttributes) ResourceArn

type StatelessRuleGroupReferenceState

type StatelessRuleGroupReferenceState struct {
	Priority    float64 `json:"priority"`
	ResourceArn string  `json:"resource_arn"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL