aws_networkfirewall_rule_group

package
v0.0.0-...-4deecce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// Capacity: number, required
	Capacity terra.NumberValue `hcl:"capacity,attr" validate:"required"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Rules: string, optional
	Rules terra.StringValue `hcl:"rules,attr"`
	// 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"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// EncryptionConfiguration: optional
	EncryptionConfiguration *EncryptionConfiguration `hcl:"encryption_configuration,block"`
	// RuleGroup: optional
	RuleGroup *RuleGroup `hcl:"rule_group,block"`
}

Args contains the configurations for aws_networkfirewall_rule_group.

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 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_networkfirewall_rule_group.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (anrg *Resource) Attributes() awsNetworkfirewallRuleGroupAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (anrg *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (anrg *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (anrg *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (anrg *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (anrg *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (anrg *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (anrg *Resource) State() (*awsNetworkfirewallRuleGroupState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (anrg *Resource) StateMust() *awsNetworkfirewallRuleGroupState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (anrg *Resource) Type() string

Type returns the Terraform object type for Resource.

type RuleGroup

type RuleGroup struct {
	// RuleGroupReferenceSets: optional
	ReferenceSets *RuleGroupReferenceSets `hcl:"reference_sets,block"`
	// RuleGroupRuleVariables: optional
	RuleVariables *RuleGroupRuleVariables `hcl:"rule_variables,block"`
	// RuleGroupRulesSource: required
	RulesSource *RuleGroupRulesSource `hcl:"rules_source,block" validate:"required"`
	// RuleGroupStatefulRuleOptions: optional
	StatefulRuleOptions *RuleGroupStatefulRuleOptions `hcl:"stateful_rule_options,block"`
}

type RuleGroupAttributes

type RuleGroupAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupAttributes) InternalRef

func (rg RuleGroupAttributes) InternalRef() (terra.Reference, error)

func (RuleGroupAttributes) InternalTokens

func (rg RuleGroupAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleGroupAttributes) InternalWithRef

func (rg RuleGroupAttributes) InternalWithRef(ref terra.Reference) RuleGroupAttributes

func (RuleGroupAttributes) ReferenceSets

func (RuleGroupAttributes) RuleVariables

func (RuleGroupAttributes) RulesSource

func (RuleGroupAttributes) StatefulRuleOptions

type RuleGroupReferenceSets

type RuleGroupReferenceSets struct {
	// RuleGroupReferenceSetsIpSetReferences: min=0,max=5
	IpSetReferences []RuleGroupReferenceSetsIpSetReferences `hcl:"ip_set_references,block" validate:"min=0,max=5"`
}

type RuleGroupReferenceSetsAttributes

type RuleGroupReferenceSetsAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupReferenceSetsAttributes) InternalRef

func (RuleGroupReferenceSetsAttributes) InternalTokens

func (rs RuleGroupReferenceSetsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleGroupReferenceSetsAttributes) InternalWithRef

func (RuleGroupReferenceSetsAttributes) IpSetReferences

type RuleGroupReferenceSetsIpSetReferences

type RuleGroupReferenceSetsIpSetReferences struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// RuleGroupReferenceSetsIpSetReferencesIpSetReference: min=1
	IpSetReference []RuleGroupReferenceSetsIpSetReferencesIpSetReference `hcl:"ip_set_reference,block" validate:"min=1"`
}

type RuleGroupReferenceSetsIpSetReferencesAttributes

type RuleGroupReferenceSetsIpSetReferencesAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupReferenceSetsIpSetReferencesAttributes) InternalRef

func (RuleGroupReferenceSetsIpSetReferencesAttributes) InternalTokens

func (RuleGroupReferenceSetsIpSetReferencesAttributes) InternalWithRef

func (RuleGroupReferenceSetsIpSetReferencesAttributes) Key

type RuleGroupReferenceSetsIpSetReferencesIpSetReference

type RuleGroupReferenceSetsIpSetReferencesIpSetReference struct {
	// ReferenceArn: string, required
	ReferenceArn terra.StringValue `hcl:"reference_arn,attr" validate:"required"`
}

type RuleGroupReferenceSetsIpSetReferencesIpSetReferenceAttributes

type RuleGroupReferenceSetsIpSetReferencesIpSetReferenceAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupReferenceSetsIpSetReferencesIpSetReferenceAttributes) InternalRef

func (RuleGroupReferenceSetsIpSetReferencesIpSetReferenceAttributes) InternalTokens

func (RuleGroupReferenceSetsIpSetReferencesIpSetReferenceAttributes) InternalWithRef

func (RuleGroupReferenceSetsIpSetReferencesIpSetReferenceAttributes) ReferenceArn

type RuleGroupReferenceSetsIpSetReferencesIpSetReferenceState

type RuleGroupReferenceSetsIpSetReferencesIpSetReferenceState struct {
	ReferenceArn string `json:"reference_arn"`
}

type RuleGroupReferenceSetsIpSetReferencesState

type RuleGroupReferenceSetsIpSetReferencesState struct {
	Key            string                                                     `json:"key"`
	IpSetReference []RuleGroupReferenceSetsIpSetReferencesIpSetReferenceState `json:"ip_set_reference"`
}

type RuleGroupReferenceSetsState

type RuleGroupReferenceSetsState struct {
	IpSetReferences []RuleGroupReferenceSetsIpSetReferencesState `json:"ip_set_references"`
}

type RuleGroupRuleVariables

type RuleGroupRuleVariables struct {
	// RuleGroupRuleVariablesIpSets: min=0
	IpSets []RuleGroupRuleVariablesIpSets `hcl:"ip_sets,block" validate:"min=0"`
	// RuleGroupRuleVariablesPortSets: min=0
	PortSets []RuleGroupRuleVariablesPortSets `hcl:"port_sets,block" validate:"min=0"`
}

type RuleGroupRuleVariablesAttributes

type RuleGroupRuleVariablesAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRuleVariablesAttributes) InternalRef

func (RuleGroupRuleVariablesAttributes) InternalTokens

func (rv RuleGroupRuleVariablesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleGroupRuleVariablesAttributes) InternalWithRef

func (RuleGroupRuleVariablesAttributes) IpSets

func (RuleGroupRuleVariablesAttributes) PortSets

type RuleGroupRuleVariablesIpSets

type RuleGroupRuleVariablesIpSets struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// RuleGroupRuleVariablesIpSetsIpSet: required
	IpSet *RuleGroupRuleVariablesIpSetsIpSet `hcl:"ip_set,block" validate:"required"`
}

type RuleGroupRuleVariablesIpSetsAttributes

type RuleGroupRuleVariablesIpSetsAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRuleVariablesIpSetsAttributes) InternalRef

func (RuleGroupRuleVariablesIpSetsAttributes) InternalTokens

func (RuleGroupRuleVariablesIpSetsAttributes) InternalWithRef

func (RuleGroupRuleVariablesIpSetsAttributes) IpSet

func (RuleGroupRuleVariablesIpSetsAttributes) Key

type RuleGroupRuleVariablesIpSetsIpSet

type RuleGroupRuleVariablesIpSetsIpSet struct {
	// Definition: set of string, required
	Definition terra.SetValue[terra.StringValue] `hcl:"definition,attr" validate:"required"`
}

type RuleGroupRuleVariablesIpSetsIpSetAttributes

type RuleGroupRuleVariablesIpSetsIpSetAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRuleVariablesIpSetsIpSetAttributes) Definition

func (RuleGroupRuleVariablesIpSetsIpSetAttributes) InternalRef

func (RuleGroupRuleVariablesIpSetsIpSetAttributes) InternalTokens

func (RuleGroupRuleVariablesIpSetsIpSetAttributes) InternalWithRef

type RuleGroupRuleVariablesIpSetsIpSetState

type RuleGroupRuleVariablesIpSetsIpSetState struct {
	Definition []string `json:"definition"`
}

type RuleGroupRuleVariablesIpSetsState

type RuleGroupRuleVariablesIpSetsState struct {
	Key   string                                   `json:"key"`
	IpSet []RuleGroupRuleVariablesIpSetsIpSetState `json:"ip_set"`
}

type RuleGroupRuleVariablesPortSets

type RuleGroupRuleVariablesPortSets struct {
	// Key: string, required
	Key terra.StringValue `hcl:"key,attr" validate:"required"`
	// RuleGroupRuleVariablesPortSetsPortSet: required
	PortSet *RuleGroupRuleVariablesPortSetsPortSet `hcl:"port_set,block" validate:"required"`
}

type RuleGroupRuleVariablesPortSetsAttributes

type RuleGroupRuleVariablesPortSetsAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRuleVariablesPortSetsAttributes) InternalRef

func (RuleGroupRuleVariablesPortSetsAttributes) InternalTokens

func (RuleGroupRuleVariablesPortSetsAttributes) InternalWithRef

func (RuleGroupRuleVariablesPortSetsAttributes) Key

func (RuleGroupRuleVariablesPortSetsAttributes) PortSet

type RuleGroupRuleVariablesPortSetsPortSet

type RuleGroupRuleVariablesPortSetsPortSet struct {
	// Definition: set of string, required
	Definition terra.SetValue[terra.StringValue] `hcl:"definition,attr" validate:"required"`
}

type RuleGroupRuleVariablesPortSetsPortSetAttributes

type RuleGroupRuleVariablesPortSetsPortSetAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRuleVariablesPortSetsPortSetAttributes) Definition

func (RuleGroupRuleVariablesPortSetsPortSetAttributes) InternalRef

func (RuleGroupRuleVariablesPortSetsPortSetAttributes) InternalTokens

func (RuleGroupRuleVariablesPortSetsPortSetAttributes) InternalWithRef

type RuleGroupRuleVariablesPortSetsPortSetState

type RuleGroupRuleVariablesPortSetsPortSetState struct {
	Definition []string `json:"definition"`
}

type RuleGroupRuleVariablesPortSetsState

type RuleGroupRuleVariablesPortSetsState struct {
	Key     string                                       `json:"key"`
	PortSet []RuleGroupRuleVariablesPortSetsPortSetState `json:"port_set"`
}

type RuleGroupRuleVariablesState

type RuleGroupRuleVariablesState struct {
	IpSets   []RuleGroupRuleVariablesIpSetsState   `json:"ip_sets"`
	PortSets []RuleGroupRuleVariablesPortSetsState `json:"port_sets"`
}

type RuleGroupRulesSource

type RuleGroupRulesSource struct {
	// RulesString: string, optional
	RulesString terra.StringValue `hcl:"rules_string,attr"`
	// RuleGroupRulesSourceRulesSourceList: optional
	RulesSourceList *RuleGroupRulesSourceRulesSourceList `hcl:"rules_source_list,block"`
	// RuleGroupRulesSourceStatefulRule: min=0
	StatefulRule []RuleGroupRulesSourceStatefulRule `hcl:"stateful_rule,block" validate:"min=0"`
	// RuleGroupRulesSourceStatelessRulesAndCustomActions: optional
	StatelessRulesAndCustomActions *RuleGroupRulesSourceStatelessRulesAndCustomActions `hcl:"stateless_rules_and_custom_actions,block"`
}

type RuleGroupRulesSource277A1Fd1

type RuleGroupRulesSource277A1Fd1 struct {
	// Protocols: set of number, optional
	Protocols terra.SetValue[terra.NumberValue] `hcl:"protocols,attr"`
	// RuleGroupRulesSource99659C25: min=0
	Destination []RuleGroupRulesSource99659C25 `hcl:"destination,block" validate:"min=0"`
	// RuleGroupRulesSourceEc4Ebdc4: min=0
	DestinationPort []RuleGroupRulesSourceEc4Ebdc4 `hcl:"destination_port,block" validate:"min=0"`
	// RuleGroupRulesSourceAa10E72F: min=0
	Source []RuleGroupRulesSourceAa10E72F `hcl:"source,block" validate:"min=0"`
	// RuleGroupRulesSourceF5A90E80: min=0
	SourcePort []RuleGroupRulesSourceF5A90E80 `hcl:"source_port,block" validate:"min=0"`
	// RuleGroupRulesSourceF034F184: min=0
	TcpFlag []RuleGroupRulesSourceF034F184 `hcl:"tcp_flag,block" validate:"min=0"`
}

type RuleGroupRulesSource277A1Fd1Attributes

type RuleGroupRulesSource277A1Fd1Attributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSource277A1Fd1Attributes) Destination

func (RuleGroupRulesSource277A1Fd1Attributes) DestinationPort

func (RuleGroupRulesSource277A1Fd1Attributes) InternalRef

func (RuleGroupRulesSource277A1Fd1Attributes) InternalTokens

func (RuleGroupRulesSource277A1Fd1Attributes) InternalWithRef

func (RuleGroupRulesSource277A1Fd1Attributes) Protocols

func (RuleGroupRulesSource277A1Fd1Attributes) Source

func (RuleGroupRulesSource277A1Fd1Attributes) SourcePort

func (RuleGroupRulesSource277A1Fd1Attributes) TcpFlag

type RuleGroupRulesSource277A1Fd1State

type RuleGroupRulesSource277A1Fd1State struct {
	Protocols       []float64                           `json:"protocols"`
	Destination     []RuleGroupRulesSource99659C25State `json:"destination"`
	DestinationPort []RuleGroupRulesSourceEc4Ebdc4State `json:"destination_port"`
	Source          []RuleGroupRulesSourceAa10E72FState `json:"source"`
	SourcePort      []RuleGroupRulesSourceF5A90E80State `json:"source_port"`
	TcpFlag         []RuleGroupRulesSourceF034F184State `json:"tcp_flag"`
}

type RuleGroupRulesSource48Bbca71

type RuleGroupRulesSource48Bbca71 struct {
	// Value: string, required
	Value terra.StringValue `hcl:"value,attr" validate:"required"`
}

type RuleGroupRulesSource48Bbca71Attributes

type RuleGroupRulesSource48Bbca71Attributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSource48Bbca71Attributes) InternalRef

func (RuleGroupRulesSource48Bbca71Attributes) InternalTokens

func (RuleGroupRulesSource48Bbca71Attributes) InternalWithRef

func (RuleGroupRulesSource48Bbca71Attributes) Value

type RuleGroupRulesSource48Bbca71State

type RuleGroupRulesSource48Bbca71State struct {
	Value string `json:"value"`
}

type RuleGroupRulesSource74D8Efc9

type RuleGroupRulesSource74D8Efc9 struct {
	// RuleGroupRulesSource48Bbca71: min=1
	Dimension []RuleGroupRulesSource48Bbca71 `hcl:"dimension,block" validate:"min=1"`
}

type RuleGroupRulesSource74D8Efc9Attributes

type RuleGroupRulesSource74D8Efc9Attributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSource74D8Efc9Attributes) Dimension

func (RuleGroupRulesSource74D8Efc9Attributes) InternalRef

func (RuleGroupRulesSource74D8Efc9Attributes) InternalTokens

func (RuleGroupRulesSource74D8Efc9Attributes) InternalWithRef

type RuleGroupRulesSource74D8Efc9State

type RuleGroupRulesSource74D8Efc9State struct {
	Dimension []RuleGroupRulesSource48Bbca71State `json:"dimension"`
}

type RuleGroupRulesSource99659C25

type RuleGroupRulesSource99659C25 struct {
	// AddressDefinition: string, required
	AddressDefinition terra.StringValue `hcl:"address_definition,attr" validate:"required"`
}

type RuleGroupRulesSource99659C25Attributes

type RuleGroupRulesSource99659C25Attributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSource99659C25Attributes) AddressDefinition

func (RuleGroupRulesSource99659C25Attributes) InternalRef

func (RuleGroupRulesSource99659C25Attributes) InternalTokens

func (RuleGroupRulesSource99659C25Attributes) InternalWithRef

type RuleGroupRulesSource99659C25State

type RuleGroupRulesSource99659C25State struct {
	AddressDefinition string `json:"address_definition"`
}

type RuleGroupRulesSourceAa10E72F

type RuleGroupRulesSourceAa10E72F struct {
	// AddressDefinition: string, required
	AddressDefinition terra.StringValue `hcl:"address_definition,attr" validate:"required"`
}

type RuleGroupRulesSourceAa10E72FAttributes

type RuleGroupRulesSourceAa10E72FAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceAa10E72FAttributes) AddressDefinition

func (RuleGroupRulesSourceAa10E72FAttributes) InternalRef

func (RuleGroupRulesSourceAa10E72FAttributes) InternalTokens

func (RuleGroupRulesSourceAa10E72FAttributes) InternalWithRef

type RuleGroupRulesSourceAa10E72FState

type RuleGroupRulesSourceAa10E72FState struct {
	AddressDefinition string `json:"address_definition"`
}

type RuleGroupRulesSourceAttributes

type RuleGroupRulesSourceAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceAttributes) InternalRef

func (RuleGroupRulesSourceAttributes) InternalTokens

func (rs RuleGroupRulesSourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleGroupRulesSourceAttributes) InternalWithRef

func (RuleGroupRulesSourceAttributes) RulesSourceList

func (RuleGroupRulesSourceAttributes) RulesString

func (RuleGroupRulesSourceAttributes) StatefulRule

type RuleGroupRulesSourceC2200B43

type RuleGroupRulesSourceC2200B43 struct {
	// RuleGroupRulesSource74D8Efc9: required
	PublishMetricAction *RuleGroupRulesSource74D8Efc9 `hcl:"publish_metric_action,block" validate:"required"`
}

type RuleGroupRulesSourceC2200B43Attributes

type RuleGroupRulesSourceC2200B43Attributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceC2200B43Attributes) InternalRef

func (RuleGroupRulesSourceC2200B43Attributes) InternalTokens

func (RuleGroupRulesSourceC2200B43Attributes) InternalWithRef

func (RuleGroupRulesSourceC2200B43Attributes) PublishMetricAction

type RuleGroupRulesSourceC2200B43State

type RuleGroupRulesSourceC2200B43State struct {
	PublishMetricAction []RuleGroupRulesSource74D8Efc9State `json:"publish_metric_action"`
}

type RuleGroupRulesSourceD738Becd

type RuleGroupRulesSourceD738Becd struct {
	// Actions: set of string, required
	Actions terra.SetValue[terra.StringValue] `hcl:"actions,attr" validate:"required"`
	// RuleGroupRulesSource277A1Fd1: required
	MatchAttributes *RuleGroupRulesSource277A1Fd1 `hcl:"match_attributes,block" validate:"required"`
}

type RuleGroupRulesSourceD738BecdAttributes

type RuleGroupRulesSourceD738BecdAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceD738BecdAttributes) Actions

func (RuleGroupRulesSourceD738BecdAttributes) InternalRef

func (RuleGroupRulesSourceD738BecdAttributes) InternalTokens

func (RuleGroupRulesSourceD738BecdAttributes) InternalWithRef

func (RuleGroupRulesSourceD738BecdAttributes) MatchAttributes

type RuleGroupRulesSourceD738BecdState

type RuleGroupRulesSourceD738BecdState struct {
	Actions         []string                            `json:"actions"`
	MatchAttributes []RuleGroupRulesSource277A1Fd1State `json:"match_attributes"`
}

type RuleGroupRulesSourceEc4Ebdc4

type RuleGroupRulesSourceEc4Ebdc4 struct {
	// FromPort: number, required
	FromPort terra.NumberValue `hcl:"from_port,attr" validate:"required"`
	// ToPort: number, optional
	ToPort terra.NumberValue `hcl:"to_port,attr"`
}

type RuleGroupRulesSourceEc4Ebdc4Attributes

type RuleGroupRulesSourceEc4Ebdc4Attributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceEc4Ebdc4Attributes) FromPort

func (RuleGroupRulesSourceEc4Ebdc4Attributes) InternalRef

func (RuleGroupRulesSourceEc4Ebdc4Attributes) InternalTokens

func (RuleGroupRulesSourceEc4Ebdc4Attributes) InternalWithRef

func (RuleGroupRulesSourceEc4Ebdc4Attributes) ToPort

type RuleGroupRulesSourceEc4Ebdc4State

type RuleGroupRulesSourceEc4Ebdc4State struct {
	FromPort float64 `json:"from_port"`
	ToPort   float64 `json:"to_port"`
}

type RuleGroupRulesSourceF034F184

type RuleGroupRulesSourceF034F184 struct {
	// Flags: set of string, required
	Flags terra.SetValue[terra.StringValue] `hcl:"flags,attr" validate:"required"`
	// Masks: set of string, optional
	Masks terra.SetValue[terra.StringValue] `hcl:"masks,attr"`
}

type RuleGroupRulesSourceF034F184Attributes

type RuleGroupRulesSourceF034F184Attributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceF034F184Attributes) Flags

func (RuleGroupRulesSourceF034F184Attributes) InternalRef

func (RuleGroupRulesSourceF034F184Attributes) InternalTokens

func (RuleGroupRulesSourceF034F184Attributes) InternalWithRef

func (RuleGroupRulesSourceF034F184Attributes) Masks

type RuleGroupRulesSourceF034F184State

type RuleGroupRulesSourceF034F184State struct {
	Flags []string `json:"flags"`
	Masks []string `json:"masks"`
}

type RuleGroupRulesSourceF5A90E80

type RuleGroupRulesSourceF5A90E80 struct {
	// FromPort: number, required
	FromPort terra.NumberValue `hcl:"from_port,attr" validate:"required"`
	// ToPort: number, optional
	ToPort terra.NumberValue `hcl:"to_port,attr"`
}

type RuleGroupRulesSourceF5A90E80Attributes

type RuleGroupRulesSourceF5A90E80Attributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceF5A90E80Attributes) FromPort

func (RuleGroupRulesSourceF5A90E80Attributes) InternalRef

func (RuleGroupRulesSourceF5A90E80Attributes) InternalTokens

func (RuleGroupRulesSourceF5A90E80Attributes) InternalWithRef

func (RuleGroupRulesSourceF5A90E80Attributes) ToPort

type RuleGroupRulesSourceF5A90E80State

type RuleGroupRulesSourceF5A90E80State struct {
	FromPort float64 `json:"from_port"`
	ToPort   float64 `json:"to_port"`
}

type RuleGroupRulesSourceRulesSourceList

type RuleGroupRulesSourceRulesSourceList struct {
	// GeneratedRulesType: string, required
	GeneratedRulesType terra.StringValue `hcl:"generated_rules_type,attr" validate:"required"`
	// TargetTypes: set of string, required
	TargetTypes terra.SetValue[terra.StringValue] `hcl:"target_types,attr" validate:"required"`
	// Targets: set of string, required
	Targets terra.SetValue[terra.StringValue] `hcl:"targets,attr" validate:"required"`
}

type RuleGroupRulesSourceRulesSourceListAttributes

type RuleGroupRulesSourceRulesSourceListAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceRulesSourceListAttributes) GeneratedRulesType

func (RuleGroupRulesSourceRulesSourceListAttributes) InternalRef

func (RuleGroupRulesSourceRulesSourceListAttributes) InternalTokens

func (RuleGroupRulesSourceRulesSourceListAttributes) InternalWithRef

func (RuleGroupRulesSourceRulesSourceListAttributes) TargetTypes

func (RuleGroupRulesSourceRulesSourceListAttributes) Targets

type RuleGroupRulesSourceRulesSourceListState

type RuleGroupRulesSourceRulesSourceListState struct {
	GeneratedRulesType string   `json:"generated_rules_type"`
	TargetTypes        []string `json:"target_types"`
	Targets            []string `json:"targets"`
}

type RuleGroupRulesSourceState

type RuleGroupRulesSourceState struct {
	RulesString                    string                                                    `json:"rules_string"`
	RulesSourceList                []RuleGroupRulesSourceRulesSourceListState                `json:"rules_source_list"`
	StatefulRule                   []RuleGroupRulesSourceStatefulRuleState                   `json:"stateful_rule"`
	StatelessRulesAndCustomActions []RuleGroupRulesSourceStatelessRulesAndCustomActionsState `json:"stateless_rules_and_custom_actions"`
}

type RuleGroupRulesSourceStatefulRule

type RuleGroupRulesSourceStatefulRule struct {
	// Action: string, required
	Action terra.StringValue `hcl:"action,attr" validate:"required"`
	// RuleGroupRulesSourceStatefulRuleHeader: required
	Header *RuleGroupRulesSourceStatefulRuleHeader `hcl:"header,block" validate:"required"`
	// RuleGroupRulesSourceStatefulRuleRuleOption: min=1
	RuleOption []RuleGroupRulesSourceStatefulRuleRuleOption `hcl:"rule_option,block" validate:"min=1"`
}

type RuleGroupRulesSourceStatefulRuleAttributes

type RuleGroupRulesSourceStatefulRuleAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceStatefulRuleAttributes) Action

func (RuleGroupRulesSourceStatefulRuleAttributes) Header

func (RuleGroupRulesSourceStatefulRuleAttributes) InternalRef

func (RuleGroupRulesSourceStatefulRuleAttributes) InternalTokens

func (RuleGroupRulesSourceStatefulRuleAttributes) InternalWithRef

func (RuleGroupRulesSourceStatefulRuleAttributes) RuleOption

type RuleGroupRulesSourceStatefulRuleHeader

type RuleGroupRulesSourceStatefulRuleHeader struct {
	// Destination: string, required
	Destination terra.StringValue `hcl:"destination,attr" validate:"required"`
	// DestinationPort: string, required
	DestinationPort terra.StringValue `hcl:"destination_port,attr" validate:"required"`
	// Direction: string, required
	Direction terra.StringValue `hcl:"direction,attr" validate:"required"`
	// Protocol: string, required
	Protocol terra.StringValue `hcl:"protocol,attr" validate:"required"`
	// Source: string, required
	Source terra.StringValue `hcl:"source,attr" validate:"required"`
	// SourcePort: string, required
	SourcePort terra.StringValue `hcl:"source_port,attr" validate:"required"`
}

type RuleGroupRulesSourceStatefulRuleHeaderAttributes

type RuleGroupRulesSourceStatefulRuleHeaderAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceStatefulRuleHeaderAttributes) Destination

func (RuleGroupRulesSourceStatefulRuleHeaderAttributes) DestinationPort

func (RuleGroupRulesSourceStatefulRuleHeaderAttributes) Direction

func (RuleGroupRulesSourceStatefulRuleHeaderAttributes) InternalRef

func (RuleGroupRulesSourceStatefulRuleHeaderAttributes) InternalTokens

func (RuleGroupRulesSourceStatefulRuleHeaderAttributes) InternalWithRef

func (RuleGroupRulesSourceStatefulRuleHeaderAttributes) Protocol

func (RuleGroupRulesSourceStatefulRuleHeaderAttributes) Source

func (RuleGroupRulesSourceStatefulRuleHeaderAttributes) SourcePort

type RuleGroupRulesSourceStatefulRuleHeaderState

type RuleGroupRulesSourceStatefulRuleHeaderState struct {
	Destination     string `json:"destination"`
	DestinationPort string `json:"destination_port"`
	Direction       string `json:"direction"`
	Protocol        string `json:"protocol"`
	Source          string `json:"source"`
	SourcePort      string `json:"source_port"`
}

type RuleGroupRulesSourceStatefulRuleRuleOption

type RuleGroupRulesSourceStatefulRuleRuleOption struct {
	// Keyword: string, required
	Keyword terra.StringValue `hcl:"keyword,attr" validate:"required"`
	// Settings: set of string, optional
	Settings terra.SetValue[terra.StringValue] `hcl:"settings,attr"`
}

type RuleGroupRulesSourceStatefulRuleRuleOptionAttributes

type RuleGroupRulesSourceStatefulRuleRuleOptionAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceStatefulRuleRuleOptionAttributes) InternalRef

func (RuleGroupRulesSourceStatefulRuleRuleOptionAttributes) InternalTokens

func (RuleGroupRulesSourceStatefulRuleRuleOptionAttributes) InternalWithRef

func (RuleGroupRulesSourceStatefulRuleRuleOptionAttributes) Keyword

func (RuleGroupRulesSourceStatefulRuleRuleOptionAttributes) Settings

type RuleGroupRulesSourceStatefulRuleRuleOptionState

type RuleGroupRulesSourceStatefulRuleRuleOptionState struct {
	Keyword  string   `json:"keyword"`
	Settings []string `json:"settings"`
}

type RuleGroupRulesSourceStatefulRuleState

type RuleGroupRulesSourceStatefulRuleState struct {
	Action     string                                            `json:"action"`
	Header     []RuleGroupRulesSourceStatefulRuleHeaderState     `json:"header"`
	RuleOption []RuleGroupRulesSourceStatefulRuleRuleOptionState `json:"rule_option"`
}

type RuleGroupRulesSourceStatelessRulesAndCustomActions

type RuleGroupRulesSourceStatelessRulesAndCustomActions struct {
	// RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomAction: min=0
	CustomAction []RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomAction `hcl:"custom_action,block" validate:"min=0"`
	// RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule: min=1
	StatelessRule []RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule `hcl:"stateless_rule,block" validate:"min=1"`
}

type RuleGroupRulesSourceStatelessRulesAndCustomActionsAttributes

type RuleGroupRulesSourceStatelessRulesAndCustomActionsAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsAttributes) InternalRef

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsAttributes) InternalTokens

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsAttributes) InternalWithRef

type RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomAction

type RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomAction struct {
	// ActionName: string, required
	ActionName terra.StringValue `hcl:"action_name,attr" validate:"required"`
	// RuleGroupRulesSourceC2200B43: required
	ActionDefinition *RuleGroupRulesSourceC2200B43 `hcl:"action_definition,block" validate:"required"`
}

type RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionAttributes

type RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionAttributes) ActionDefinition

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionAttributes) ActionName

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionAttributes) InternalRef

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionAttributes) InternalTokens

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionAttributes) InternalWithRef

type RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionState

type RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionState struct {
	ActionName       string                              `json:"action_name"`
	ActionDefinition []RuleGroupRulesSourceC2200B43State `json:"action_definition"`
}

type RuleGroupRulesSourceStatelessRulesAndCustomActionsState

type RuleGroupRulesSourceStatelessRulesAndCustomActionsState struct {
	CustomAction  []RuleGroupRulesSourceStatelessRulesAndCustomActionsCustomActionState  `json:"custom_action"`
	StatelessRule []RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleState `json:"stateless_rule"`
}

type RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule

type RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRule struct {
	// Priority: number, required
	Priority terra.NumberValue `hcl:"priority,attr" validate:"required"`
	// RuleGroupRulesSourceD738Becd: required
	RuleDefinition *RuleGroupRulesSourceD738Becd `hcl:"rule_definition,block" validate:"required"`
}

type RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleAttributes

type RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleAttributes) InternalRef

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleAttributes) InternalTokens

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleAttributes) InternalWithRef

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleAttributes) Priority

func (RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleAttributes) RuleDefinition

type RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleState

type RuleGroupRulesSourceStatelessRulesAndCustomActionsStatelessRuleState struct {
	Priority       float64                             `json:"priority"`
	RuleDefinition []RuleGroupRulesSourceD738BecdState `json:"rule_definition"`
}

type RuleGroupState

type RuleGroupState struct {
	ReferenceSets       []RuleGroupReferenceSetsState       `json:"reference_sets"`
	RuleVariables       []RuleGroupRuleVariablesState       `json:"rule_variables"`
	RulesSource         []RuleGroupRulesSourceState         `json:"rules_source"`
	StatefulRuleOptions []RuleGroupStatefulRuleOptionsState `json:"stateful_rule_options"`
}

type RuleGroupStatefulRuleOptions

type RuleGroupStatefulRuleOptions struct {
	// RuleOrder: string, required
	RuleOrder terra.StringValue `hcl:"rule_order,attr" validate:"required"`
}

type RuleGroupStatefulRuleOptionsAttributes

type RuleGroupStatefulRuleOptionsAttributes struct {
	// contains filtered or unexported fields
}

func (RuleGroupStatefulRuleOptionsAttributes) InternalRef

func (RuleGroupStatefulRuleOptionsAttributes) InternalTokens

func (RuleGroupStatefulRuleOptionsAttributes) InternalWithRef

func (RuleGroupStatefulRuleOptionsAttributes) RuleOrder

type RuleGroupStatefulRuleOptionsState

type RuleGroupStatefulRuleOptionsState struct {
	RuleOrder string `json:"rule_order"`
}

Jump to

Keyboard shortcuts

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