Documentation ¶
Index ¶
- type Args
- type FindingCriteria
- type FindingCriteriaAttributes
- func (fc FindingCriteriaAttributes) Criterion() terra.SetValue[FindingCriteriaCriterionAttributes]
- func (fc FindingCriteriaAttributes) InternalRef() (terra.Reference, error)
- func (fc FindingCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fc FindingCriteriaAttributes) InternalWithRef(ref terra.Reference) FindingCriteriaAttributes
- type FindingCriteriaCriterion
- type FindingCriteriaCriterionAttributes
- func (c FindingCriteriaCriterionAttributes) Equals() terra.ListValue[terra.StringValue]
- func (c FindingCriteriaCriterionAttributes) Field() terra.StringValue
- func (c FindingCriteriaCriterionAttributes) GreaterThan() terra.StringValue
- func (c FindingCriteriaCriterionAttributes) GreaterThanOrEqual() terra.StringValue
- func (c FindingCriteriaCriterionAttributes) InternalRef() (terra.Reference, error)
- func (c FindingCriteriaCriterionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c FindingCriteriaCriterionAttributes) InternalWithRef(ref terra.Reference) FindingCriteriaCriterionAttributes
- func (c FindingCriteriaCriterionAttributes) LessThan() terra.StringValue
- func (c FindingCriteriaCriterionAttributes) LessThanOrEqual() terra.StringValue
- func (c FindingCriteriaCriterionAttributes) NotEquals() terra.ListValue[terra.StringValue]
- type FindingCriteriaCriterionState
- type FindingCriteriaState
- type Resource
- func (agf *Resource) Attributes() awsGuarddutyFilterAttributes
- func (agf *Resource) Configuration() interface{}
- func (agf *Resource) DependOn() terra.Reference
- func (agf *Resource) Dependencies() terra.Dependencies
- func (agf *Resource) ImportState(state io.Reader) error
- func (agf *Resource) LifecycleManagement() *terra.Lifecycle
- func (agf *Resource) LocalName() string
- func (agf *Resource) State() (*awsGuarddutyFilterState, bool)
- func (agf *Resource) StateMust() *awsGuarddutyFilterState
- func (agf *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Action: string, required Action terra.StringValue `hcl:"action,attr" validate:"required"` // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // DetectorId: string, required DetectorId terra.StringValue `hcl:"detector_id,attr" validate:"required"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Rank: number, required Rank terra.NumberValue `hcl:"rank,attr" validate:"required"` // 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"` // FindingCriteria: required FindingCriteria *FindingCriteria `hcl:"finding_criteria,block" validate:"required"` }
Args contains the configurations for aws_guardduty_filter.
type FindingCriteria ¶
type FindingCriteria struct { // FindingCriteriaCriterion: min=1 Criterion []FindingCriteriaCriterion `hcl:"criterion,block" validate:"min=1"` }
type FindingCriteriaAttributes ¶
type FindingCriteriaAttributes struct {
// contains filtered or unexported fields
}
func (FindingCriteriaAttributes) Criterion ¶
func (fc FindingCriteriaAttributes) Criterion() terra.SetValue[FindingCriteriaCriterionAttributes]
func (FindingCriteriaAttributes) InternalRef ¶
func (fc FindingCriteriaAttributes) InternalRef() (terra.Reference, error)
func (FindingCriteriaAttributes) InternalTokens ¶
func (fc FindingCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FindingCriteriaAttributes) InternalWithRef ¶
func (fc FindingCriteriaAttributes) InternalWithRef(ref terra.Reference) FindingCriteriaAttributes
type FindingCriteriaCriterion ¶
type FindingCriteriaCriterion struct { // Equals: list of string, optional Equals terra.ListValue[terra.StringValue] `hcl:"equals,attr"` // Field: string, required Field terra.StringValue `hcl:"field,attr" validate:"required"` // GreaterThan: string, optional GreaterThan terra.StringValue `hcl:"greater_than,attr"` // GreaterThanOrEqual: string, optional GreaterThanOrEqual terra.StringValue `hcl:"greater_than_or_equal,attr"` // LessThan: string, optional LessThan terra.StringValue `hcl:"less_than,attr"` // LessThanOrEqual: string, optional LessThanOrEqual terra.StringValue `hcl:"less_than_or_equal,attr"` // NotEquals: list of string, optional NotEquals terra.ListValue[terra.StringValue] `hcl:"not_equals,attr"` }
type FindingCriteriaCriterionAttributes ¶
type FindingCriteriaCriterionAttributes struct {
// contains filtered or unexported fields
}
func (FindingCriteriaCriterionAttributes) Equals ¶
func (c FindingCriteriaCriterionAttributes) Equals() terra.ListValue[terra.StringValue]
func (FindingCriteriaCriterionAttributes) Field ¶
func (c FindingCriteriaCriterionAttributes) Field() terra.StringValue
func (FindingCriteriaCriterionAttributes) GreaterThan ¶
func (c FindingCriteriaCriterionAttributes) GreaterThan() terra.StringValue
func (FindingCriteriaCriterionAttributes) GreaterThanOrEqual ¶
func (c FindingCriteriaCriterionAttributes) GreaterThanOrEqual() terra.StringValue
func (FindingCriteriaCriterionAttributes) InternalRef ¶
func (c FindingCriteriaCriterionAttributes) InternalRef() (terra.Reference, error)
func (FindingCriteriaCriterionAttributes) InternalTokens ¶
func (c FindingCriteriaCriterionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FindingCriteriaCriterionAttributes) InternalWithRef ¶
func (c FindingCriteriaCriterionAttributes) InternalWithRef(ref terra.Reference) FindingCriteriaCriterionAttributes
func (FindingCriteriaCriterionAttributes) LessThan ¶
func (c FindingCriteriaCriterionAttributes) LessThan() terra.StringValue
func (FindingCriteriaCriterionAttributes) LessThanOrEqual ¶
func (c FindingCriteriaCriterionAttributes) LessThanOrEqual() terra.StringValue
func (FindingCriteriaCriterionAttributes) NotEquals ¶
func (c FindingCriteriaCriterionAttributes) NotEquals() terra.ListValue[terra.StringValue]
type FindingCriteriaCriterionState ¶
type FindingCriteriaCriterionState struct { Equals []string `json:"equals"` Field string `json:"field"` GreaterThan string `json:"greater_than"` GreaterThanOrEqual string `json:"greater_than_or_equal"` LessThan string `json:"less_than"` LessThanOrEqual string `json:"less_than_or_equal"` NotEquals []string `json:"not_equals"` }
type FindingCriteriaState ¶
type FindingCriteriaState struct {
Criterion []FindingCriteriaCriterionState `json:"criterion"`
}
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_guardduty_filter.
func (*Resource) Attributes ¶
func (agf *Resource) Attributes() awsGuarddutyFilterAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (agf *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (agf *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
Click to show internal directories.
Click to hide internal directories.