Documentation ¶
Index ¶
- type Control
- type ControlAttributes
- func (c ControlAttributes) InputParameter() terra.SetValue[InputParameterAttributes]
- func (c ControlAttributes) InternalRef() (terra.Reference, error)
- func (c ControlAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (c ControlAttributes) InternalWithRef(ref terra.Reference) ControlAttributes
- func (c ControlAttributes) Name() terra.StringValue
- func (c ControlAttributes) Scope() terra.ListValue[ScopeAttributes]
- type ControlState
- type InputParameter
- type InputParameterAttributes
- func (ip InputParameterAttributes) InternalRef() (terra.Reference, error)
- func (ip InputParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ip InputParameterAttributes) InternalWithRef(ref terra.Reference) InputParameterAttributes
- func (ip InputParameterAttributes) Name() terra.StringValue
- func (ip InputParameterAttributes) Value() terra.StringValue
- type InputParameterState
- type Scope
- type ScopeAttributes
- func (s ScopeAttributes) ComplianceResourceIds() terra.SetValue[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) Tags() terra.MapValue[terra.StringValue]
- type ScopeState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) Delete() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Control ¶
type Control struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // InputParameter: min=0 InputParameter []InputParameter `hcl:"input_parameter,block" validate:"min=0"` // Scope: optional Scope *Scope `hcl:"scope,block"` }
type ControlAttributes ¶
type ControlAttributes struct {
// contains filtered or unexported fields
}
func (ControlAttributes) InputParameter ¶
func (c ControlAttributes) InputParameter() terra.SetValue[InputParameterAttributes]
func (ControlAttributes) InternalRef ¶
func (c ControlAttributes) InternalRef() (terra.Reference, error)
func (ControlAttributes) InternalTokens ¶
func (c ControlAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ControlAttributes) InternalWithRef ¶
func (c ControlAttributes) InternalWithRef(ref terra.Reference) ControlAttributes
func (ControlAttributes) Name ¶
func (c ControlAttributes) Name() terra.StringValue
func (ControlAttributes) Scope ¶
func (c ControlAttributes) Scope() terra.ListValue[ScopeAttributes]
type ControlState ¶
type ControlState struct { Name string `json:"name"` InputParameter []InputParameterState `json:"input_parameter"` Scope []ScopeState `json:"scope"` }
type InputParameter ¶
type InputParameter struct { // Name: string, optional Name terra.StringValue `hcl:"name,attr"` // Value: string, optional Value terra.StringValue `hcl:"value,attr"` }
type InputParameterAttributes ¶
type InputParameterAttributes struct {
// contains filtered or unexported fields
}
func (InputParameterAttributes) InternalRef ¶
func (ip InputParameterAttributes) InternalRef() (terra.Reference, error)
func (InputParameterAttributes) InternalTokens ¶
func (ip InputParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (InputParameterAttributes) InternalWithRef ¶
func (ip InputParameterAttributes) InternalWithRef(ref terra.Reference) InputParameterAttributes
func (InputParameterAttributes) Name ¶
func (ip InputParameterAttributes) Name() terra.StringValue
func (InputParameterAttributes) Value ¶
func (ip InputParameterAttributes) Value() terra.StringValue
type InputParameterState ¶
type Scope ¶
type Scope struct { // ComplianceResourceIds: set of string, optional ComplianceResourceIds terra.SetValue[terra.StringValue] `hcl:"compliance_resource_ids,attr"` // ComplianceResourceTypes: set of string, optional ComplianceResourceTypes terra.SetValue[terra.StringValue] `hcl:"compliance_resource_types,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
type ScopeAttributes ¶
type ScopeAttributes struct {
// contains filtered or unexported fields
}
func (ScopeAttributes) ComplianceResourceIds ¶
func (s ScopeAttributes) ComplianceResourceIds() terra.SetValue[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) Tags ¶
func (s ScopeAttributes) Tags() terra.MapValue[terra.StringValue]
type ScopeState ¶
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Delete: string, optional Delete terra.StringValue `hcl:"delete,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) Delete ¶
func (t TimeoutsAttributes) Delete() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
Click to show internal directories.
Click to hide internal directories.