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 CustomAction
- type CustomActionAttributes
- func (ca CustomActionAttributes) ActionDefinition() terra.ListValue[ActionDefinitionAttributes]
- func (ca CustomActionAttributes) ActionName() terra.StringValue
- func (ca CustomActionAttributes) InternalRef() (terra.Reference, error)
- func (ca CustomActionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ca CustomActionAttributes) InternalWithRef(ref terra.Reference) CustomActionAttributes
- type CustomActionState
- type Destination
- type DestinationAttributes
- func (d DestinationAttributes) AddressDefinition() terra.StringValue
- func (d DestinationAttributes) InternalRef() (terra.Reference, error)
- func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DestinationAttributes) InternalWithRef(ref terra.Reference) DestinationAttributes
- type DestinationPort
- type DestinationPortAttributes
- func (dp DestinationPortAttributes) FromPort() terra.NumberValue
- func (dp DestinationPortAttributes) InternalRef() (terra.Reference, error)
- func (dp DestinationPortAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dp DestinationPortAttributes) InternalWithRef(ref terra.Reference) DestinationPortAttributes
- func (dp DestinationPortAttributes) ToPort() terra.NumberValue
- type DestinationPortState
- type DestinationState
- 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 Header
- type HeaderAttributes
- func (h HeaderAttributes) Destination() terra.StringValue
- func (h HeaderAttributes) DestinationPort() terra.StringValue
- func (h HeaderAttributes) Direction() terra.StringValue
- func (h HeaderAttributes) InternalRef() (terra.Reference, error)
- func (h HeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (h HeaderAttributes) InternalWithRef(ref terra.Reference) HeaderAttributes
- func (h HeaderAttributes) Protocol() terra.StringValue
- func (h HeaderAttributes) Source() terra.StringValue
- func (h HeaderAttributes) SourcePort() terra.StringValue
- type HeaderState
- type IpSet
- type IpSetAttributes
- type IpSetReference
- type IpSetReferenceAttributes
- func (isr IpSetReferenceAttributes) InternalRef() (terra.Reference, error)
- func (isr IpSetReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (isr IpSetReferenceAttributes) InternalWithRef(ref terra.Reference) IpSetReferenceAttributes
- func (isr IpSetReferenceAttributes) ReferenceArn() terra.StringValue
- type IpSetReferenceState
- type IpSetReferences
- type IpSetReferencesAttributes
- func (isr IpSetReferencesAttributes) InternalRef() (terra.Reference, error)
- func (isr IpSetReferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (isr IpSetReferencesAttributes) InternalWithRef(ref terra.Reference) IpSetReferencesAttributes
- func (isr IpSetReferencesAttributes) IpSetReference() terra.ListValue[IpSetReferenceAttributes]
- func (isr IpSetReferencesAttributes) Key() terra.StringValue
- type IpSetReferencesState
- type IpSetState
- type IpSets
- type IpSetsAttributes
- func (is IpSetsAttributes) InternalRef() (terra.Reference, error)
- func (is IpSetsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (is IpSetsAttributes) InternalWithRef(ref terra.Reference) IpSetsAttributes
- func (is IpSetsAttributes) IpSet() terra.ListValue[IpSetAttributes]
- func (is IpSetsAttributes) Key() terra.StringValue
- type IpSetsState
- type MatchAttributes
- type MatchAttributesAttributes
- func (ma MatchAttributesAttributes) Destination() terra.SetValue[DestinationAttributes]
- func (ma MatchAttributesAttributes) DestinationPort() terra.SetValue[DestinationPortAttributes]
- func (ma MatchAttributesAttributes) InternalRef() (terra.Reference, error)
- func (ma MatchAttributesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ma MatchAttributesAttributes) InternalWithRef(ref terra.Reference) MatchAttributesAttributes
- func (ma MatchAttributesAttributes) Protocols() terra.SetValue[terra.NumberValue]
- func (ma MatchAttributesAttributes) Source() terra.SetValue[SourceAttributes]
- func (ma MatchAttributesAttributes) SourcePort() terra.SetValue[SourcePortAttributes]
- func (ma MatchAttributesAttributes) TcpFlag() terra.SetValue[TcpFlagAttributes]
- type MatchAttributesState
- type PortSet
- type PortSetAttributes
- type PortSetState
- type PortSets
- type PortSetsAttributes
- func (ps PortSetsAttributes) InternalRef() (terra.Reference, error)
- func (ps PortSetsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ps PortSetsAttributes) InternalWithRef(ref terra.Reference) PortSetsAttributes
- func (ps PortSetsAttributes) Key() terra.StringValue
- func (ps PortSetsAttributes) PortSet() terra.ListValue[PortSetAttributes]
- type PortSetsState
- 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 ReferenceSets
- type ReferenceSetsAttributes
- func (rs ReferenceSetsAttributes) InternalRef() (terra.Reference, error)
- func (rs ReferenceSetsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rs ReferenceSetsAttributes) InternalWithRef(ref terra.Reference) ReferenceSetsAttributes
- func (rs ReferenceSetsAttributes) IpSetReferences() terra.SetValue[IpSetReferencesAttributes]
- type ReferenceSetsState
- type RuleDefinition
- type RuleDefinitionAttributes
- func (rd RuleDefinitionAttributes) Actions() terra.SetValue[terra.StringValue]
- func (rd RuleDefinitionAttributes) InternalRef() (terra.Reference, error)
- func (rd RuleDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rd RuleDefinitionAttributes) InternalWithRef(ref terra.Reference) RuleDefinitionAttributes
- func (rd RuleDefinitionAttributes) MatchAttributes() terra.ListValue[MatchAttributesAttributes]
- type RuleDefinitionState
- type RuleGroup
- type RuleGroupAttributes
- func (rg RuleGroupAttributes) InternalRef() (terra.Reference, error)
- func (rg RuleGroupAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rg RuleGroupAttributes) InternalWithRef(ref terra.Reference) RuleGroupAttributes
- func (rg RuleGroupAttributes) ReferenceSets() terra.ListValue[ReferenceSetsAttributes]
- func (rg RuleGroupAttributes) RuleVariables() terra.ListValue[RuleVariablesAttributes]
- func (rg RuleGroupAttributes) RulesSource() terra.ListValue[RulesSourceAttributes]
- func (rg RuleGroupAttributes) StatefulRuleOptions() terra.ListValue[StatefulRuleOptionsAttributes]
- type RuleGroupState
- type RuleOption
- type RuleOptionAttributes
- func (ro RuleOptionAttributes) InternalRef() (terra.Reference, error)
- func (ro RuleOptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ro RuleOptionAttributes) InternalWithRef(ref terra.Reference) RuleOptionAttributes
- func (ro RuleOptionAttributes) Keyword() terra.StringValue
- func (ro RuleOptionAttributes) Settings() terra.SetValue[terra.StringValue]
- type RuleOptionState
- type RuleVariables
- type RuleVariablesAttributes
- func (rv RuleVariablesAttributes) InternalRef() (terra.Reference, error)
- func (rv RuleVariablesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rv RuleVariablesAttributes) InternalWithRef(ref terra.Reference) RuleVariablesAttributes
- func (rv RuleVariablesAttributes) IpSets() terra.SetValue[IpSetsAttributes]
- func (rv RuleVariablesAttributes) PortSets() terra.SetValue[PortSetsAttributes]
- type RuleVariablesState
- type RulesSource
- type RulesSourceAttributes
- func (rs RulesSourceAttributes) InternalRef() (terra.Reference, error)
- func (rs RulesSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rs RulesSourceAttributes) InternalWithRef(ref terra.Reference) RulesSourceAttributes
- func (rs RulesSourceAttributes) RulesSourceList() terra.ListValue[RulesSourceListAttributes]
- func (rs RulesSourceAttributes) RulesString() terra.StringValue
- func (rs RulesSourceAttributes) StatefulRule() terra.ListValue[StatefulRuleAttributes]
- func (rs RulesSourceAttributes) StatelessRulesAndCustomActions() terra.ListValue[StatelessRulesAndCustomActionsAttributes]
- type RulesSourceList
- type RulesSourceListAttributes
- func (rsl RulesSourceListAttributes) GeneratedRulesType() terra.StringValue
- func (rsl RulesSourceListAttributes) InternalRef() (terra.Reference, error)
- func (rsl RulesSourceListAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rsl RulesSourceListAttributes) InternalWithRef(ref terra.Reference) RulesSourceListAttributes
- func (rsl RulesSourceListAttributes) TargetTypes() terra.SetValue[terra.StringValue]
- func (rsl RulesSourceListAttributes) Targets() terra.SetValue[terra.StringValue]
- type RulesSourceListState
- type RulesSourceState
- type Source
- type SourceAttributes
- type SourcePort
- type SourcePortAttributes
- func (sp SourcePortAttributes) FromPort() terra.NumberValue
- func (sp SourcePortAttributes) InternalRef() (terra.Reference, error)
- func (sp SourcePortAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sp SourcePortAttributes) InternalWithRef(ref terra.Reference) SourcePortAttributes
- func (sp SourcePortAttributes) ToPort() terra.NumberValue
- type SourcePortState
- type SourceState
- type StatefulRule
- type StatefulRuleAttributes
- func (sr StatefulRuleAttributes) Action() terra.StringValue
- func (sr StatefulRuleAttributes) Header() terra.ListValue[HeaderAttributes]
- func (sr StatefulRuleAttributes) InternalRef() (terra.Reference, error)
- func (sr StatefulRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr StatefulRuleAttributes) InternalWithRef(ref terra.Reference) StatefulRuleAttributes
- func (sr StatefulRuleAttributes) RuleOption() terra.SetValue[RuleOptionAttributes]
- type StatefulRuleOptions
- type StatefulRuleOptionsAttributes
- func (sro StatefulRuleOptionsAttributes) InternalRef() (terra.Reference, error)
- func (sro StatefulRuleOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sro StatefulRuleOptionsAttributes) InternalWithRef(ref terra.Reference) StatefulRuleOptionsAttributes
- func (sro StatefulRuleOptionsAttributes) RuleOrder() terra.StringValue
- type StatefulRuleOptionsState
- type StatefulRuleState
- type StatelessRule
- type StatelessRuleAttributes
- func (sr StatelessRuleAttributes) InternalRef() (terra.Reference, error)
- func (sr StatelessRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sr StatelessRuleAttributes) InternalWithRef(ref terra.Reference) StatelessRuleAttributes
- func (sr StatelessRuleAttributes) Priority() terra.NumberValue
- func (sr StatelessRuleAttributes) RuleDefinition() terra.ListValue[RuleDefinitionAttributes]
- type StatelessRuleState
- type StatelessRulesAndCustomActions
- type StatelessRulesAndCustomActionsAttributes
- func (sraca StatelessRulesAndCustomActionsAttributes) CustomAction() terra.SetValue[CustomActionAttributes]
- func (sraca StatelessRulesAndCustomActionsAttributes) InternalRef() (terra.Reference, error)
- func (sraca StatelessRulesAndCustomActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sraca StatelessRulesAndCustomActionsAttributes) InternalWithRef(ref terra.Reference) StatelessRulesAndCustomActionsAttributes
- func (sraca StatelessRulesAndCustomActionsAttributes) StatelessRule() terra.SetValue[StatelessRuleAttributes]
- type StatelessRulesAndCustomActionsState
- type TcpFlag
- type TcpFlagAttributes
- func (tf TcpFlagAttributes) Flags() terra.SetValue[terra.StringValue]
- func (tf TcpFlagAttributes) InternalRef() (terra.Reference, error)
- func (tf TcpFlagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (tf TcpFlagAttributes) InternalWithRef(ref terra.Reference) TcpFlagAttributes
- func (tf TcpFlagAttributes) Masks() terra.SetValue[terra.StringValue]
- type TcpFlagState
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 CustomAction ¶
type CustomAction struct { // ActionName: string, required ActionName terra.StringValue `hcl:"action_name,attr" validate:"required"` // ActionDefinition: required ActionDefinition *ActionDefinition `hcl:"action_definition,block" validate:"required"` }
type CustomActionAttributes ¶
type CustomActionAttributes struct {
// contains filtered or unexported fields
}
func (CustomActionAttributes) ActionDefinition ¶
func (ca CustomActionAttributes) ActionDefinition() terra.ListValue[ActionDefinitionAttributes]
func (CustomActionAttributes) ActionName ¶
func (ca CustomActionAttributes) ActionName() terra.StringValue
func (CustomActionAttributes) InternalRef ¶
func (ca CustomActionAttributes) InternalRef() (terra.Reference, error)
func (CustomActionAttributes) InternalTokens ¶
func (ca CustomActionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomActionAttributes) InternalWithRef ¶
func (ca CustomActionAttributes) InternalWithRef(ref terra.Reference) CustomActionAttributes
type CustomActionState ¶
type CustomActionState struct { ActionName string `json:"action_name"` ActionDefinition []ActionDefinitionState `json:"action_definition"` }
type Destination ¶
type Destination struct { // AddressDefinition: string, required AddressDefinition terra.StringValue `hcl:"address_definition,attr" validate:"required"` }
type DestinationAttributes ¶
type DestinationAttributes struct {
// contains filtered or unexported fields
}
func (DestinationAttributes) AddressDefinition ¶
func (d DestinationAttributes) AddressDefinition() terra.StringValue
func (DestinationAttributes) InternalRef ¶
func (d DestinationAttributes) InternalRef() (terra.Reference, error)
func (DestinationAttributes) InternalTokens ¶
func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationAttributes) InternalWithRef ¶
func (d DestinationAttributes) InternalWithRef(ref terra.Reference) DestinationAttributes
type DestinationPort ¶
type DestinationPort struct { // FromPort: number, required FromPort terra.NumberValue `hcl:"from_port,attr" validate:"required"` // ToPort: number, optional ToPort terra.NumberValue `hcl:"to_port,attr"` }
type DestinationPortAttributes ¶
type DestinationPortAttributes struct {
// contains filtered or unexported fields
}
func (DestinationPortAttributes) FromPort ¶
func (dp DestinationPortAttributes) FromPort() terra.NumberValue
func (DestinationPortAttributes) InternalRef ¶
func (dp DestinationPortAttributes) InternalRef() (terra.Reference, error)
func (DestinationPortAttributes) InternalTokens ¶
func (dp DestinationPortAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationPortAttributes) InternalWithRef ¶
func (dp DestinationPortAttributes) InternalWithRef(ref terra.Reference) DestinationPortAttributes
func (DestinationPortAttributes) ToPort ¶
func (dp DestinationPortAttributes) ToPort() terra.NumberValue
type DestinationPortState ¶
type DestinationState ¶
type DestinationState struct {
AddressDefinition string `json:"address_definition"`
}
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 Header ¶
type Header 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 HeaderAttributes ¶
type HeaderAttributes struct {
// contains filtered or unexported fields
}
func (HeaderAttributes) Destination ¶
func (h HeaderAttributes) Destination() terra.StringValue
func (HeaderAttributes) DestinationPort ¶
func (h HeaderAttributes) DestinationPort() terra.StringValue
func (HeaderAttributes) Direction ¶
func (h HeaderAttributes) Direction() terra.StringValue
func (HeaderAttributes) InternalRef ¶
func (h HeaderAttributes) InternalRef() (terra.Reference, error)
func (HeaderAttributes) InternalTokens ¶
func (h HeaderAttributes) InternalTokens() (hclwrite.Tokens, error)
func (HeaderAttributes) InternalWithRef ¶
func (h HeaderAttributes) InternalWithRef(ref terra.Reference) HeaderAttributes
func (HeaderAttributes) Protocol ¶
func (h HeaderAttributes) Protocol() terra.StringValue
func (HeaderAttributes) Source ¶
func (h HeaderAttributes) Source() terra.StringValue
func (HeaderAttributes) SourcePort ¶
func (h HeaderAttributes) SourcePort() terra.StringValue
type HeaderState ¶
type IpSet ¶
type IpSet struct { // Definition: set of string, required Definition terra.SetValue[terra.StringValue] `hcl:"definition,attr" validate:"required"` }
type IpSetAttributes ¶
type IpSetAttributes struct {
// contains filtered or unexported fields
}
func (IpSetAttributes) Definition ¶
func (is IpSetAttributes) Definition() terra.SetValue[terra.StringValue]
func (IpSetAttributes) InternalRef ¶
func (is IpSetAttributes) InternalRef() (terra.Reference, error)
func (IpSetAttributes) InternalTokens ¶
func (is IpSetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IpSetAttributes) InternalWithRef ¶
func (is IpSetAttributes) InternalWithRef(ref terra.Reference) IpSetAttributes
type IpSetReference ¶
type IpSetReference struct { // ReferenceArn: string, required ReferenceArn terra.StringValue `hcl:"reference_arn,attr" validate:"required"` }
type IpSetReferenceAttributes ¶
type IpSetReferenceAttributes struct {
// contains filtered or unexported fields
}
func (IpSetReferenceAttributes) InternalRef ¶
func (isr IpSetReferenceAttributes) InternalRef() (terra.Reference, error)
func (IpSetReferenceAttributes) InternalTokens ¶
func (isr IpSetReferenceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IpSetReferenceAttributes) InternalWithRef ¶
func (isr IpSetReferenceAttributes) InternalWithRef(ref terra.Reference) IpSetReferenceAttributes
func (IpSetReferenceAttributes) ReferenceArn ¶
func (isr IpSetReferenceAttributes) ReferenceArn() terra.StringValue
type IpSetReferenceState ¶
type IpSetReferenceState struct {
ReferenceArn string `json:"reference_arn"`
}
type IpSetReferences ¶
type IpSetReferences struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // IpSetReference: min=1 IpSetReference []IpSetReference `hcl:"ip_set_reference,block" validate:"min=1"` }
type IpSetReferencesAttributes ¶
type IpSetReferencesAttributes struct {
// contains filtered or unexported fields
}
func (IpSetReferencesAttributes) InternalRef ¶
func (isr IpSetReferencesAttributes) InternalRef() (terra.Reference, error)
func (IpSetReferencesAttributes) InternalTokens ¶
func (isr IpSetReferencesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IpSetReferencesAttributes) InternalWithRef ¶
func (isr IpSetReferencesAttributes) InternalWithRef(ref terra.Reference) IpSetReferencesAttributes
func (IpSetReferencesAttributes) IpSetReference ¶
func (isr IpSetReferencesAttributes) IpSetReference() terra.ListValue[IpSetReferenceAttributes]
func (IpSetReferencesAttributes) Key ¶
func (isr IpSetReferencesAttributes) Key() terra.StringValue
type IpSetReferencesState ¶
type IpSetReferencesState struct { Key string `json:"key"` IpSetReference []IpSetReferenceState `json:"ip_set_reference"` }
type IpSetState ¶
type IpSetState struct {
Definition []string `json:"definition"`
}
type IpSets ¶
type IpSets struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // IpSet: required IpSet *IpSet `hcl:"ip_set,block" validate:"required"` }
type IpSetsAttributes ¶
type IpSetsAttributes struct {
// contains filtered or unexported fields
}
func (IpSetsAttributes) InternalRef ¶
func (is IpSetsAttributes) InternalRef() (terra.Reference, error)
func (IpSetsAttributes) InternalTokens ¶
func (is IpSetsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IpSetsAttributes) InternalWithRef ¶
func (is IpSetsAttributes) InternalWithRef(ref terra.Reference) IpSetsAttributes
func (IpSetsAttributes) IpSet ¶
func (is IpSetsAttributes) IpSet() terra.ListValue[IpSetAttributes]
func (IpSetsAttributes) Key ¶
func (is IpSetsAttributes) Key() terra.StringValue
type IpSetsState ¶
type IpSetsState struct { Key string `json:"key"` IpSet []IpSetState `json:"ip_set"` }
type MatchAttributes ¶
type MatchAttributes struct { // Protocols: set of number, optional Protocols terra.SetValue[terra.NumberValue] `hcl:"protocols,attr"` // Destination: min=0 Destination []Destination `hcl:"destination,block" validate:"min=0"` // DestinationPort: min=0 DestinationPort []DestinationPort `hcl:"destination_port,block" validate:"min=0"` // Source: min=0 Source []Source `hcl:"source,block" validate:"min=0"` // SourcePort: min=0 SourcePort []SourcePort `hcl:"source_port,block" validate:"min=0"` // TcpFlag: min=0 TcpFlag []TcpFlag `hcl:"tcp_flag,block" validate:"min=0"` }
type MatchAttributesAttributes ¶
type MatchAttributesAttributes struct {
// contains filtered or unexported fields
}
func (MatchAttributesAttributes) Destination ¶
func (ma MatchAttributesAttributes) Destination() terra.SetValue[DestinationAttributes]
func (MatchAttributesAttributes) DestinationPort ¶
func (ma MatchAttributesAttributes) DestinationPort() terra.SetValue[DestinationPortAttributes]
func (MatchAttributesAttributes) InternalRef ¶
func (ma MatchAttributesAttributes) InternalRef() (terra.Reference, error)
func (MatchAttributesAttributes) InternalTokens ¶
func (ma MatchAttributesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MatchAttributesAttributes) InternalWithRef ¶
func (ma MatchAttributesAttributes) InternalWithRef(ref terra.Reference) MatchAttributesAttributes
func (MatchAttributesAttributes) Protocols ¶
func (ma MatchAttributesAttributes) Protocols() terra.SetValue[terra.NumberValue]
func (MatchAttributesAttributes) Source ¶
func (ma MatchAttributesAttributes) Source() terra.SetValue[SourceAttributes]
func (MatchAttributesAttributes) SourcePort ¶
func (ma MatchAttributesAttributes) SourcePort() terra.SetValue[SourcePortAttributes]
func (MatchAttributesAttributes) TcpFlag ¶
func (ma MatchAttributesAttributes) TcpFlag() terra.SetValue[TcpFlagAttributes]
type MatchAttributesState ¶
type MatchAttributesState struct { Protocols []float64 `json:"protocols"` Destination []DestinationState `json:"destination"` DestinationPort []DestinationPortState `json:"destination_port"` Source []SourceState `json:"source"` SourcePort []SourcePortState `json:"source_port"` TcpFlag []TcpFlagState `json:"tcp_flag"` }
type PortSet ¶
type PortSet struct { // Definition: set of string, required Definition terra.SetValue[terra.StringValue] `hcl:"definition,attr" validate:"required"` }
type PortSetAttributes ¶
type PortSetAttributes struct {
// contains filtered or unexported fields
}
func (PortSetAttributes) Definition ¶
func (ps PortSetAttributes) Definition() terra.SetValue[terra.StringValue]
func (PortSetAttributes) InternalRef ¶
func (ps PortSetAttributes) InternalRef() (terra.Reference, error)
func (PortSetAttributes) InternalTokens ¶
func (ps PortSetAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PortSetAttributes) InternalWithRef ¶
func (ps PortSetAttributes) InternalWithRef(ref terra.Reference) PortSetAttributes
type PortSetState ¶
type PortSetState struct {
Definition []string `json:"definition"`
}
type PortSets ¶
type PortSets struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // PortSet: required PortSet *PortSet `hcl:"port_set,block" validate:"required"` }
type PortSetsAttributes ¶
type PortSetsAttributes struct {
// contains filtered or unexported fields
}
func (PortSetsAttributes) InternalRef ¶
func (ps PortSetsAttributes) InternalRef() (terra.Reference, error)
func (PortSetsAttributes) InternalTokens ¶
func (ps PortSetsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PortSetsAttributes) InternalWithRef ¶
func (ps PortSetsAttributes) InternalWithRef(ref terra.Reference) PortSetsAttributes
func (PortSetsAttributes) Key ¶
func (ps PortSetsAttributes) Key() terra.StringValue
func (PortSetsAttributes) PortSet ¶
func (ps PortSetsAttributes) PortSet() terra.ListValue[PortSetAttributes]
type PortSetsState ¶
type PortSetsState struct { Key string `json:"key"` PortSet []PortSetState `json:"port_set"` }
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 ReferenceSets ¶
type ReferenceSets struct { // IpSetReferences: min=0,max=5 IpSetReferences []IpSetReferences `hcl:"ip_set_references,block" validate:"min=0,max=5"` }
type ReferenceSetsAttributes ¶
type ReferenceSetsAttributes struct {
// contains filtered or unexported fields
}
func (ReferenceSetsAttributes) InternalRef ¶
func (rs ReferenceSetsAttributes) InternalRef() (terra.Reference, error)
func (ReferenceSetsAttributes) InternalTokens ¶
func (rs ReferenceSetsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ReferenceSetsAttributes) InternalWithRef ¶
func (rs ReferenceSetsAttributes) InternalWithRef(ref terra.Reference) ReferenceSetsAttributes
func (ReferenceSetsAttributes) IpSetReferences ¶
func (rs ReferenceSetsAttributes) IpSetReferences() terra.SetValue[IpSetReferencesAttributes]
type ReferenceSetsState ¶
type ReferenceSetsState struct {
IpSetReferences []IpSetReferencesState `json:"ip_set_references"`
}
type RuleDefinition ¶
type RuleDefinition struct { // Actions: set of string, required Actions terra.SetValue[terra.StringValue] `hcl:"actions,attr" validate:"required"` // MatchAttributes: required MatchAttributes *MatchAttributes `hcl:"match_attributes,block" validate:"required"` }
type RuleDefinitionAttributes ¶
type RuleDefinitionAttributes struct {
// contains filtered or unexported fields
}
func (RuleDefinitionAttributes) Actions ¶
func (rd RuleDefinitionAttributes) Actions() terra.SetValue[terra.StringValue]
func (RuleDefinitionAttributes) InternalRef ¶
func (rd RuleDefinitionAttributes) InternalRef() (terra.Reference, error)
func (RuleDefinitionAttributes) InternalTokens ¶
func (rd RuleDefinitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDefinitionAttributes) InternalWithRef ¶
func (rd RuleDefinitionAttributes) InternalWithRef(ref terra.Reference) RuleDefinitionAttributes
func (RuleDefinitionAttributes) MatchAttributes ¶
func (rd RuleDefinitionAttributes) MatchAttributes() terra.ListValue[MatchAttributesAttributes]
type RuleDefinitionState ¶
type RuleDefinitionState struct { Actions []string `json:"actions"` MatchAttributes []MatchAttributesState `json:"match_attributes"` }
type RuleGroup ¶
type RuleGroup struct { // ReferenceSets: optional ReferenceSets *ReferenceSets `hcl:"reference_sets,block"` // RuleVariables: optional RuleVariables *RuleVariables `hcl:"rule_variables,block"` // RulesSource: required RulesSource *RulesSource `hcl:"rules_source,block" validate:"required"` // StatefulRuleOptions: optional StatefulRuleOptions *StatefulRuleOptions `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 (rg RuleGroupAttributes) ReferenceSets() terra.ListValue[ReferenceSetsAttributes]
func (RuleGroupAttributes) RuleVariables ¶
func (rg RuleGroupAttributes) RuleVariables() terra.ListValue[RuleVariablesAttributes]
func (RuleGroupAttributes) RulesSource ¶
func (rg RuleGroupAttributes) RulesSource() terra.ListValue[RulesSourceAttributes]
func (RuleGroupAttributes) StatefulRuleOptions ¶
func (rg RuleGroupAttributes) StatefulRuleOptions() terra.ListValue[StatefulRuleOptionsAttributes]
type RuleGroupState ¶
type RuleGroupState struct { ReferenceSets []ReferenceSetsState `json:"reference_sets"` RuleVariables []RuleVariablesState `json:"rule_variables"` RulesSource []RulesSourceState `json:"rules_source"` StatefulRuleOptions []StatefulRuleOptionsState `json:"stateful_rule_options"` }
type RuleOption ¶
type RuleOption 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 RuleOptionAttributes ¶
type RuleOptionAttributes struct {
// contains filtered or unexported fields
}
func (RuleOptionAttributes) InternalRef ¶
func (ro RuleOptionAttributes) InternalRef() (terra.Reference, error)
func (RuleOptionAttributes) InternalTokens ¶
func (ro RuleOptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleOptionAttributes) InternalWithRef ¶
func (ro RuleOptionAttributes) InternalWithRef(ref terra.Reference) RuleOptionAttributes
func (RuleOptionAttributes) Keyword ¶
func (ro RuleOptionAttributes) Keyword() terra.StringValue
func (RuleOptionAttributes) Settings ¶
func (ro RuleOptionAttributes) Settings() terra.SetValue[terra.StringValue]
type RuleOptionState ¶
type RuleVariables ¶
type RuleVariablesAttributes ¶
type RuleVariablesAttributes struct {
// contains filtered or unexported fields
}
func (RuleVariablesAttributes) InternalRef ¶
func (rv RuleVariablesAttributes) InternalRef() (terra.Reference, error)
func (RuleVariablesAttributes) InternalTokens ¶
func (rv RuleVariablesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleVariablesAttributes) InternalWithRef ¶
func (rv RuleVariablesAttributes) InternalWithRef(ref terra.Reference) RuleVariablesAttributes
func (RuleVariablesAttributes) IpSets ¶
func (rv RuleVariablesAttributes) IpSets() terra.SetValue[IpSetsAttributes]
func (RuleVariablesAttributes) PortSets ¶
func (rv RuleVariablesAttributes) PortSets() terra.SetValue[PortSetsAttributes]
type RuleVariablesState ¶
type RuleVariablesState struct { IpSets []IpSetsState `json:"ip_sets"` PortSets []PortSetsState `json:"port_sets"` }
type RulesSource ¶
type RulesSource struct { // RulesString: string, optional RulesString terra.StringValue `hcl:"rules_string,attr"` // RulesSourceList: optional RulesSourceList *RulesSourceList `hcl:"rules_source_list,block"` // StatefulRule: min=0 StatefulRule []StatefulRule `hcl:"stateful_rule,block" validate:"min=0"` // StatelessRulesAndCustomActions: optional StatelessRulesAndCustomActions *StatelessRulesAndCustomActions `hcl:"stateless_rules_and_custom_actions,block"` }
type RulesSourceAttributes ¶
type RulesSourceAttributes struct {
// contains filtered or unexported fields
}
func (RulesSourceAttributes) InternalRef ¶
func (rs RulesSourceAttributes) InternalRef() (terra.Reference, error)
func (RulesSourceAttributes) InternalTokens ¶
func (rs RulesSourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesSourceAttributes) InternalWithRef ¶
func (rs RulesSourceAttributes) InternalWithRef(ref terra.Reference) RulesSourceAttributes
func (RulesSourceAttributes) RulesSourceList ¶
func (rs RulesSourceAttributes) RulesSourceList() terra.ListValue[RulesSourceListAttributes]
func (RulesSourceAttributes) RulesString ¶
func (rs RulesSourceAttributes) RulesString() terra.StringValue
func (RulesSourceAttributes) StatefulRule ¶
func (rs RulesSourceAttributes) StatefulRule() terra.ListValue[StatefulRuleAttributes]
func (RulesSourceAttributes) StatelessRulesAndCustomActions ¶
func (rs RulesSourceAttributes) StatelessRulesAndCustomActions() terra.ListValue[StatelessRulesAndCustomActionsAttributes]
type RulesSourceList ¶
type RulesSourceList 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 RulesSourceListAttributes ¶
type RulesSourceListAttributes struct {
// contains filtered or unexported fields
}
func (RulesSourceListAttributes) GeneratedRulesType ¶
func (rsl RulesSourceListAttributes) GeneratedRulesType() terra.StringValue
func (RulesSourceListAttributes) InternalRef ¶
func (rsl RulesSourceListAttributes) InternalRef() (terra.Reference, error)
func (RulesSourceListAttributes) InternalTokens ¶
func (rsl RulesSourceListAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RulesSourceListAttributes) InternalWithRef ¶
func (rsl RulesSourceListAttributes) InternalWithRef(ref terra.Reference) RulesSourceListAttributes
func (RulesSourceListAttributes) TargetTypes ¶
func (rsl RulesSourceListAttributes) TargetTypes() terra.SetValue[terra.StringValue]
func (RulesSourceListAttributes) Targets ¶
func (rsl RulesSourceListAttributes) Targets() terra.SetValue[terra.StringValue]
type RulesSourceListState ¶
type RulesSourceState ¶
type RulesSourceState struct { RulesString string `json:"rules_string"` RulesSourceList []RulesSourceListState `json:"rules_source_list"` StatefulRule []StatefulRuleState `json:"stateful_rule"` StatelessRulesAndCustomActions []StatelessRulesAndCustomActionsState `json:"stateless_rules_and_custom_actions"` }
type Source ¶
type Source struct { // AddressDefinition: string, required AddressDefinition terra.StringValue `hcl:"address_definition,attr" validate:"required"` }
type SourceAttributes ¶
type SourceAttributes struct {
// contains filtered or unexported fields
}
func (SourceAttributes) AddressDefinition ¶
func (s SourceAttributes) AddressDefinition() terra.StringValue
func (SourceAttributes) InternalRef ¶
func (s SourceAttributes) InternalRef() (terra.Reference, error)
func (SourceAttributes) InternalTokens ¶
func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceAttributes) InternalWithRef ¶
func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
type SourcePort ¶
type SourcePort struct { // FromPort: number, required FromPort terra.NumberValue `hcl:"from_port,attr" validate:"required"` // ToPort: number, optional ToPort terra.NumberValue `hcl:"to_port,attr"` }
type SourcePortAttributes ¶
type SourcePortAttributes struct {
// contains filtered or unexported fields
}
func (SourcePortAttributes) FromPort ¶
func (sp SourcePortAttributes) FromPort() terra.NumberValue
func (SourcePortAttributes) InternalRef ¶
func (sp SourcePortAttributes) InternalRef() (terra.Reference, error)
func (SourcePortAttributes) InternalTokens ¶
func (sp SourcePortAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourcePortAttributes) InternalWithRef ¶
func (sp SourcePortAttributes) InternalWithRef(ref terra.Reference) SourcePortAttributes
func (SourcePortAttributes) ToPort ¶
func (sp SourcePortAttributes) ToPort() terra.NumberValue
type SourcePortState ¶
type SourceState ¶
type SourceState struct {
AddressDefinition string `json:"address_definition"`
}
type StatefulRule ¶
type StatefulRule struct { // Action: string, required Action terra.StringValue `hcl:"action,attr" validate:"required"` // Header: required Header *Header `hcl:"header,block" validate:"required"` // RuleOption: min=1 RuleOption []RuleOption `hcl:"rule_option,block" validate:"min=1"` }
type StatefulRuleAttributes ¶
type StatefulRuleAttributes struct {
// contains filtered or unexported fields
}
func (StatefulRuleAttributes) Action ¶
func (sr StatefulRuleAttributes) Action() terra.StringValue
func (StatefulRuleAttributes) Header ¶
func (sr StatefulRuleAttributes) Header() terra.ListValue[HeaderAttributes]
func (StatefulRuleAttributes) InternalRef ¶
func (sr StatefulRuleAttributes) InternalRef() (terra.Reference, error)
func (StatefulRuleAttributes) InternalTokens ¶
func (sr StatefulRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulRuleAttributes) InternalWithRef ¶
func (sr StatefulRuleAttributes) InternalWithRef(ref terra.Reference) StatefulRuleAttributes
func (StatefulRuleAttributes) RuleOption ¶
func (sr StatefulRuleAttributes) RuleOption() terra.SetValue[RuleOptionAttributes]
type StatefulRuleOptions ¶
type StatefulRuleOptions struct { // RuleOrder: string, required RuleOrder terra.StringValue `hcl:"rule_order,attr" validate:"required"` }
type StatefulRuleOptionsAttributes ¶
type StatefulRuleOptionsAttributes struct {
// contains filtered or unexported fields
}
func (StatefulRuleOptionsAttributes) InternalRef ¶
func (sro StatefulRuleOptionsAttributes) InternalRef() (terra.Reference, error)
func (StatefulRuleOptionsAttributes) InternalTokens ¶
func (sro StatefulRuleOptionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatefulRuleOptionsAttributes) InternalWithRef ¶
func (sro StatefulRuleOptionsAttributes) InternalWithRef(ref terra.Reference) StatefulRuleOptionsAttributes
func (StatefulRuleOptionsAttributes) RuleOrder ¶
func (sro StatefulRuleOptionsAttributes) RuleOrder() terra.StringValue
type StatefulRuleOptionsState ¶
type StatefulRuleOptionsState struct {
RuleOrder string `json:"rule_order"`
}
type StatefulRuleState ¶
type StatefulRuleState struct { Action string `json:"action"` Header []HeaderState `json:"header"` RuleOption []RuleOptionState `json:"rule_option"` }
type StatelessRule ¶
type StatelessRule struct { // Priority: number, required Priority terra.NumberValue `hcl:"priority,attr" validate:"required"` // RuleDefinition: required RuleDefinition *RuleDefinition `hcl:"rule_definition,block" validate:"required"` }
type StatelessRuleAttributes ¶
type StatelessRuleAttributes struct {
// contains filtered or unexported fields
}
func (StatelessRuleAttributes) InternalRef ¶
func (sr StatelessRuleAttributes) InternalRef() (terra.Reference, error)
func (StatelessRuleAttributes) InternalTokens ¶
func (sr StatelessRuleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatelessRuleAttributes) InternalWithRef ¶
func (sr StatelessRuleAttributes) InternalWithRef(ref terra.Reference) StatelessRuleAttributes
func (StatelessRuleAttributes) Priority ¶
func (sr StatelessRuleAttributes) Priority() terra.NumberValue
func (StatelessRuleAttributes) RuleDefinition ¶
func (sr StatelessRuleAttributes) RuleDefinition() terra.ListValue[RuleDefinitionAttributes]
type StatelessRuleState ¶
type StatelessRuleState struct { Priority float64 `json:"priority"` RuleDefinition []RuleDefinitionState `json:"rule_definition"` }
type StatelessRulesAndCustomActions ¶
type StatelessRulesAndCustomActions struct { // CustomAction: min=0 CustomAction []CustomAction `hcl:"custom_action,block" validate:"min=0"` // StatelessRule: min=1 StatelessRule []StatelessRule `hcl:"stateless_rule,block" validate:"min=1"` }
type StatelessRulesAndCustomActionsAttributes ¶
type StatelessRulesAndCustomActionsAttributes struct {
// contains filtered or unexported fields
}
func (StatelessRulesAndCustomActionsAttributes) CustomAction ¶
func (sraca StatelessRulesAndCustomActionsAttributes) CustomAction() terra.SetValue[CustomActionAttributes]
func (StatelessRulesAndCustomActionsAttributes) InternalRef ¶
func (sraca StatelessRulesAndCustomActionsAttributes) InternalRef() (terra.Reference, error)
func (StatelessRulesAndCustomActionsAttributes) InternalTokens ¶
func (sraca StatelessRulesAndCustomActionsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatelessRulesAndCustomActionsAttributes) InternalWithRef ¶
func (sraca StatelessRulesAndCustomActionsAttributes) InternalWithRef(ref terra.Reference) StatelessRulesAndCustomActionsAttributes
func (StatelessRulesAndCustomActionsAttributes) StatelessRule ¶
func (sraca StatelessRulesAndCustomActionsAttributes) StatelessRule() terra.SetValue[StatelessRuleAttributes]
type StatelessRulesAndCustomActionsState ¶
type StatelessRulesAndCustomActionsState struct { CustomAction []CustomActionState `json:"custom_action"` StatelessRule []StatelessRuleState `json:"stateless_rule"` }
type TcpFlag ¶
type TcpFlag 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 TcpFlagAttributes ¶
type TcpFlagAttributes struct {
// contains filtered or unexported fields
}
func (TcpFlagAttributes) Flags ¶
func (tf TcpFlagAttributes) Flags() terra.SetValue[terra.StringValue]
func (TcpFlagAttributes) InternalRef ¶
func (tf TcpFlagAttributes) InternalRef() (terra.Reference, error)
func (TcpFlagAttributes) InternalTokens ¶
func (tf TcpFlagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TcpFlagAttributes) InternalWithRef ¶
func (tf TcpFlagAttributes) InternalWithRef(ref terra.Reference) TcpFlagAttributes
func (TcpFlagAttributes) Masks ¶
func (tf TcpFlagAttributes) Masks() terra.SetValue[terra.StringValue]
type TcpFlagState ¶
Click to show internal directories.
Click to hide internal directories.