Documentation ¶
Index ¶
- type CustomPolicyDetails
- type CustomPolicyDetailsAttributes
- func (cpd CustomPolicyDetailsAttributes) EnableDebugLogDelivery() terra.BoolValue
- func (cpd CustomPolicyDetailsAttributes) InternalRef() (terra.Reference, error)
- func (cpd CustomPolicyDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cpd CustomPolicyDetailsAttributes) InternalWithRef(ref terra.Reference) CustomPolicyDetailsAttributes
- func (cpd CustomPolicyDetailsAttributes) PolicyRuntime() terra.StringValue
- func (cpd CustomPolicyDetailsAttributes) PolicyText() terra.StringValue
- type CustomPolicyDetailsState
- type Scope
- type ScopeAttributes
- func (s ScopeAttributes) ComplianceResourceId() terra.StringValue
- func (s ScopeAttributes) ComplianceResourceTypes() terra.SetValue[terra.StringValue]
- func (s ScopeAttributes) InternalRef() (terra.Reference, error)
- func (s ScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ScopeAttributes) InternalWithRef(ref terra.Reference) ScopeAttributes
- func (s ScopeAttributes) TagKey() terra.StringValue
- func (s ScopeAttributes) TagValue() terra.StringValue
- type ScopeState
- type Source
- type SourceAttributes
- func (s SourceAttributes) CustomPolicyDetails() terra.ListValue[CustomPolicyDetailsAttributes]
- func (s SourceAttributes) InternalRef() (terra.Reference, error)
- func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes
- func (s SourceAttributes) Owner() terra.StringValue
- func (s SourceAttributes) SourceDetail() terra.SetValue[SourceDetailAttributes]
- func (s SourceAttributes) SourceIdentifier() terra.StringValue
- type SourceDetail
- type SourceDetailAttributes
- func (sd SourceDetailAttributes) EventSource() terra.StringValue
- func (sd SourceDetailAttributes) InternalRef() (terra.Reference, error)
- func (sd SourceDetailAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sd SourceDetailAttributes) InternalWithRef(ref terra.Reference) SourceDetailAttributes
- func (sd SourceDetailAttributes) MaximumExecutionFrequency() terra.StringValue
- func (sd SourceDetailAttributes) MessageType() terra.StringValue
- type SourceDetailState
- type SourceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomPolicyDetails ¶
type CustomPolicyDetails struct { // EnableDebugLogDelivery: bool, optional EnableDebugLogDelivery terra.BoolValue `hcl:"enable_debug_log_delivery,attr"` // PolicyRuntime: string, required PolicyRuntime terra.StringValue `hcl:"policy_runtime,attr" validate:"required"` // PolicyText: string, required PolicyText terra.StringValue `hcl:"policy_text,attr" validate:"required"` }
type CustomPolicyDetailsAttributes ¶
type CustomPolicyDetailsAttributes struct {
// contains filtered or unexported fields
}
func (CustomPolicyDetailsAttributes) EnableDebugLogDelivery ¶
func (cpd CustomPolicyDetailsAttributes) EnableDebugLogDelivery() terra.BoolValue
func (CustomPolicyDetailsAttributes) InternalRef ¶
func (cpd CustomPolicyDetailsAttributes) InternalRef() (terra.Reference, error)
func (CustomPolicyDetailsAttributes) InternalTokens ¶
func (cpd CustomPolicyDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CustomPolicyDetailsAttributes) InternalWithRef ¶
func (cpd CustomPolicyDetailsAttributes) InternalWithRef(ref terra.Reference) CustomPolicyDetailsAttributes
func (CustomPolicyDetailsAttributes) PolicyRuntime ¶
func (cpd CustomPolicyDetailsAttributes) PolicyRuntime() terra.StringValue
func (CustomPolicyDetailsAttributes) PolicyText ¶
func (cpd CustomPolicyDetailsAttributes) PolicyText() terra.StringValue
type Scope ¶
type Scope struct { // ComplianceResourceId: string, optional ComplianceResourceId terra.StringValue `hcl:"compliance_resource_id,attr"` // ComplianceResourceTypes: set of string, optional ComplianceResourceTypes terra.SetValue[terra.StringValue] `hcl:"compliance_resource_types,attr"` // TagKey: string, optional TagKey terra.StringValue `hcl:"tag_key,attr"` // TagValue: string, optional TagValue terra.StringValue `hcl:"tag_value,attr"` }
type ScopeAttributes ¶
type ScopeAttributes struct {
// contains filtered or unexported fields
}
func (ScopeAttributes) ComplianceResourceId ¶
func (s ScopeAttributes) ComplianceResourceId() terra.StringValue
func (ScopeAttributes) ComplianceResourceTypes ¶
func (s ScopeAttributes) ComplianceResourceTypes() terra.SetValue[terra.StringValue]
func (ScopeAttributes) InternalRef ¶
func (s ScopeAttributes) InternalRef() (terra.Reference, error)
func (ScopeAttributes) InternalTokens ¶
func (s ScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScopeAttributes) InternalWithRef ¶
func (s ScopeAttributes) InternalWithRef(ref terra.Reference) ScopeAttributes
func (ScopeAttributes) TagKey ¶
func (s ScopeAttributes) TagKey() terra.StringValue
func (ScopeAttributes) TagValue ¶
func (s ScopeAttributes) TagValue() terra.StringValue
type ScopeState ¶
type Source ¶
type Source struct { // Owner: string, required Owner terra.StringValue `hcl:"owner,attr" validate:"required"` // SourceIdentifier: string, optional SourceIdentifier terra.StringValue `hcl:"source_identifier,attr"` // CustomPolicyDetails: optional CustomPolicyDetails *CustomPolicyDetails `hcl:"custom_policy_details,block"` // SourceDetail: min=0,max=25 SourceDetail []SourceDetail `hcl:"source_detail,block" validate:"min=0,max=25"` }
type SourceAttributes ¶
type SourceAttributes struct {
// contains filtered or unexported fields
}
func (SourceAttributes) CustomPolicyDetails ¶
func (s SourceAttributes) CustomPolicyDetails() terra.ListValue[CustomPolicyDetailsAttributes]
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
func (SourceAttributes) Owner ¶
func (s SourceAttributes) Owner() terra.StringValue
func (SourceAttributes) SourceDetail ¶
func (s SourceAttributes) SourceDetail() terra.SetValue[SourceDetailAttributes]
func (SourceAttributes) SourceIdentifier ¶
func (s SourceAttributes) SourceIdentifier() terra.StringValue
type SourceDetail ¶
type SourceDetail struct { // EventSource: string, optional EventSource terra.StringValue `hcl:"event_source,attr"` // MaximumExecutionFrequency: string, optional MaximumExecutionFrequency terra.StringValue `hcl:"maximum_execution_frequency,attr"` // MessageType: string, optional MessageType terra.StringValue `hcl:"message_type,attr"` }
type SourceDetailAttributes ¶
type SourceDetailAttributes struct {
// contains filtered or unexported fields
}
func (SourceDetailAttributes) EventSource ¶
func (sd SourceDetailAttributes) EventSource() terra.StringValue
func (SourceDetailAttributes) InternalRef ¶
func (sd SourceDetailAttributes) InternalRef() (terra.Reference, error)
func (SourceDetailAttributes) InternalTokens ¶
func (sd SourceDetailAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SourceDetailAttributes) InternalWithRef ¶
func (sd SourceDetailAttributes) InternalWithRef(ref terra.Reference) SourceDetailAttributes
func (SourceDetailAttributes) MaximumExecutionFrequency ¶
func (sd SourceDetailAttributes) MaximumExecutionFrequency() terra.StringValue
func (SourceDetailAttributes) MessageType ¶
func (sd SourceDetailAttributes) MessageType() terra.StringValue
type SourceDetailState ¶
type SourceState ¶
type SourceState struct { Owner string `json:"owner"` SourceIdentifier string `json:"source_identifier"` CustomPolicyDetails []CustomPolicyDetailsState `json:"custom_policy_details"` SourceDetail []SourceDetailState `json:"source_detail"` }
Click to show internal directories.
Click to hide internal directories.