Documentation ¶
Index ¶
- type Bool
- type BoolAttributes
- type BoolState
- type ConfigurationPolicy
- type ConfigurationPolicyAttributes
- func (cp ConfigurationPolicyAttributes) EnabledStandardArns() terra.SetValue[terra.StringValue]
- func (cp ConfigurationPolicyAttributes) InternalRef() (terra.Reference, error)
- func (cp ConfigurationPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cp ConfigurationPolicyAttributes) InternalWithRef(ref terra.Reference) ConfigurationPolicyAttributes
- func (cp ConfigurationPolicyAttributes) SecurityControlsConfiguration() terra.ListValue[SecurityControlsConfigurationAttributes]
- func (cp ConfigurationPolicyAttributes) ServiceEnabled() terra.BoolValue
- type ConfigurationPolicyState
- type Double
- type DoubleAttributes
- type DoubleState
- type Enum
- type EnumAttributes
- type EnumList
- type EnumListAttributes
- type EnumListState
- type EnumState
- type Int
- type IntAttributes
- type IntList
- type IntListAttributes
- type IntListState
- type IntState
- type Parameter
- type ParameterAttributes
- func (p ParameterAttributes) Bool() terra.ListValue[BoolAttributes]
- func (p ParameterAttributes) Double() terra.ListValue[DoubleAttributes]
- func (p ParameterAttributes) Enum() terra.ListValue[EnumAttributes]
- func (p ParameterAttributes) EnumList() terra.ListValue[EnumListAttributes]
- func (p ParameterAttributes) Int() terra.ListValue[IntAttributes]
- func (p ParameterAttributes) IntList() terra.ListValue[IntListAttributes]
- func (p ParameterAttributes) InternalRef() (terra.Reference, error)
- func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes
- func (p ParameterAttributes) Name() terra.StringValue
- func (p ParameterAttributes) String() terra.ListValue[StringAttributes]
- func (p ParameterAttributes) StringList() terra.ListValue[StringListAttributes]
- func (p ParameterAttributes) ValueType() terra.StringValue
- type ParameterState
- type SecurityControlCustomParameter
- type SecurityControlCustomParameterAttributes
- func (sccp SecurityControlCustomParameterAttributes) InternalRef() (terra.Reference, error)
- func (sccp SecurityControlCustomParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sccp SecurityControlCustomParameterAttributes) InternalWithRef(ref terra.Reference) SecurityControlCustomParameterAttributes
- func (sccp SecurityControlCustomParameterAttributes) Parameter() terra.SetValue[ParameterAttributes]
- func (sccp SecurityControlCustomParameterAttributes) SecurityControlId() terra.StringValue
- type SecurityControlCustomParameterState
- type SecurityControlsConfiguration
- type SecurityControlsConfigurationAttributes
- func (scc SecurityControlsConfigurationAttributes) DisabledControlIdentifiers() terra.SetValue[terra.StringValue]
- func (scc SecurityControlsConfigurationAttributes) EnabledControlIdentifiers() terra.SetValue[terra.StringValue]
- func (scc SecurityControlsConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (scc SecurityControlsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (scc SecurityControlsConfigurationAttributes) InternalWithRef(ref terra.Reference) SecurityControlsConfigurationAttributes
- func (scc SecurityControlsConfigurationAttributes) SecurityControlCustomParameter() terra.ListValue[SecurityControlCustomParameterAttributes]
- type SecurityControlsConfigurationState
- type String
- type StringAttributes
- type StringList
- type StringListAttributes
- func (sl StringListAttributes) InternalRef() (terra.Reference, error)
- func (sl StringListAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sl StringListAttributes) InternalWithRef(ref terra.Reference) StringListAttributes
- func (sl StringListAttributes) Value() terra.ListValue[terra.StringValue]
- type StringListState
- type StringState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolAttributes ¶
type BoolAttributes struct {
// contains filtered or unexported fields
}
func (BoolAttributes) InternalRef ¶
func (b BoolAttributes) InternalRef() (terra.Reference, error)
func (BoolAttributes) InternalTokens ¶
func (b BoolAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BoolAttributes) InternalWithRef ¶
func (b BoolAttributes) InternalWithRef(ref terra.Reference) BoolAttributes
func (BoolAttributes) Value ¶
func (b BoolAttributes) Value() terra.BoolValue
type ConfigurationPolicy ¶
type ConfigurationPolicy struct { // EnabledStandardArns: set of string, required EnabledStandardArns terra.SetValue[terra.StringValue] `hcl:"enabled_standard_arns,attr" validate:"required"` // ServiceEnabled: bool, required ServiceEnabled terra.BoolValue `hcl:"service_enabled,attr" validate:"required"` // SecurityControlsConfiguration: optional SecurityControlsConfiguration *SecurityControlsConfiguration `hcl:"security_controls_configuration,block"` }
type ConfigurationPolicyAttributes ¶
type ConfigurationPolicyAttributes struct {
// contains filtered or unexported fields
}
func (ConfigurationPolicyAttributes) EnabledStandardArns ¶
func (cp ConfigurationPolicyAttributes) EnabledStandardArns() terra.SetValue[terra.StringValue]
func (ConfigurationPolicyAttributes) InternalRef ¶
func (cp ConfigurationPolicyAttributes) InternalRef() (terra.Reference, error)
func (ConfigurationPolicyAttributes) InternalTokens ¶
func (cp ConfigurationPolicyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ConfigurationPolicyAttributes) InternalWithRef ¶
func (cp ConfigurationPolicyAttributes) InternalWithRef(ref terra.Reference) ConfigurationPolicyAttributes
func (ConfigurationPolicyAttributes) SecurityControlsConfiguration ¶
func (cp ConfigurationPolicyAttributes) SecurityControlsConfiguration() terra.ListValue[SecurityControlsConfigurationAttributes]
func (ConfigurationPolicyAttributes) ServiceEnabled ¶
func (cp ConfigurationPolicyAttributes) ServiceEnabled() terra.BoolValue
type ConfigurationPolicyState ¶
type ConfigurationPolicyState struct { EnabledStandardArns []string `json:"enabled_standard_arns"` ServiceEnabled bool `json:"service_enabled"` SecurityControlsConfiguration []SecurityControlsConfigurationState `json:"security_controls_configuration"` }
type Double ¶
type Double struct { // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type DoubleAttributes ¶
type DoubleAttributes struct {
// contains filtered or unexported fields
}
func (DoubleAttributes) InternalRef ¶
func (d DoubleAttributes) InternalRef() (terra.Reference, error)
func (DoubleAttributes) InternalTokens ¶
func (d DoubleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DoubleAttributes) InternalWithRef ¶
func (d DoubleAttributes) InternalWithRef(ref terra.Reference) DoubleAttributes
func (DoubleAttributes) Value ¶
func (d DoubleAttributes) Value() terra.NumberValue
type DoubleState ¶
type DoubleState struct {
Value float64 `json:"value"`
}
type Enum ¶
type Enum struct { // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type EnumAttributes ¶
type EnumAttributes struct {
// contains filtered or unexported fields
}
func (EnumAttributes) InternalRef ¶
func (e EnumAttributes) InternalRef() (terra.Reference, error)
func (EnumAttributes) InternalTokens ¶
func (e EnumAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EnumAttributes) InternalWithRef ¶
func (e EnumAttributes) InternalWithRef(ref terra.Reference) EnumAttributes
func (EnumAttributes) Value ¶
func (e EnumAttributes) Value() terra.StringValue
type EnumList ¶
type EnumList struct { // Value: list of string, required Value terra.ListValue[terra.StringValue] `hcl:"value,attr" validate:"required"` }
type EnumListAttributes ¶
type EnumListAttributes struct {
// contains filtered or unexported fields
}
func (EnumListAttributes) InternalRef ¶
func (el EnumListAttributes) InternalRef() (terra.Reference, error)
func (EnumListAttributes) InternalTokens ¶
func (el EnumListAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EnumListAttributes) InternalWithRef ¶
func (el EnumListAttributes) InternalWithRef(ref terra.Reference) EnumListAttributes
func (EnumListAttributes) Value ¶
func (el EnumListAttributes) Value() terra.ListValue[terra.StringValue]
type EnumListState ¶
type EnumListState struct {
Value []string `json:"value"`
}
type Int ¶
type Int struct { // Value: number, required Value terra.NumberValue `hcl:"value,attr" validate:"required"` }
type IntAttributes ¶
type IntAttributes struct {
// contains filtered or unexported fields
}
func (IntAttributes) InternalRef ¶
func (i IntAttributes) InternalRef() (terra.Reference, error)
func (IntAttributes) InternalTokens ¶
func (i IntAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IntAttributes) InternalWithRef ¶
func (i IntAttributes) InternalWithRef(ref terra.Reference) IntAttributes
func (IntAttributes) Value ¶
func (i IntAttributes) Value() terra.NumberValue
type IntList ¶
type IntList struct { // Value: list of number, required Value terra.ListValue[terra.NumberValue] `hcl:"value,attr" validate:"required"` }
type IntListAttributes ¶
type IntListAttributes struct {
// contains filtered or unexported fields
}
func (IntListAttributes) InternalRef ¶
func (il IntListAttributes) InternalRef() (terra.Reference, error)
func (IntListAttributes) InternalTokens ¶
func (il IntListAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IntListAttributes) InternalWithRef ¶
func (il IntListAttributes) InternalWithRef(ref terra.Reference) IntListAttributes
func (IntListAttributes) Value ¶
func (il IntListAttributes) Value() terra.ListValue[terra.NumberValue]
type IntListState ¶
type IntListState struct {
Value []float64 `json:"value"`
}
type Parameter ¶
type Parameter struct { // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // ValueType: string, required ValueType terra.StringValue `hcl:"value_type,attr" validate:"required"` // Bool: optional Bool *Bool `hcl:"bool,block"` // Double: optional Double *Double `hcl:"double,block"` // Enum: optional Enum *Enum `hcl:"enum,block"` // EnumList: optional EnumList *EnumList `hcl:"enum_list,block"` // Int: optional Int *Int `hcl:"int,block"` // IntList: optional IntList *IntList `hcl:"int_list,block"` // String: optional String *String `hcl:"string,block"` // StringList: optional StringList *StringList `hcl:"string_list,block"` }
type ParameterAttributes ¶
type ParameterAttributes struct {
// contains filtered or unexported fields
}
func (ParameterAttributes) Bool ¶
func (p ParameterAttributes) Bool() terra.ListValue[BoolAttributes]
func (ParameterAttributes) Double ¶
func (p ParameterAttributes) Double() terra.ListValue[DoubleAttributes]
func (ParameterAttributes) Enum ¶
func (p ParameterAttributes) Enum() terra.ListValue[EnumAttributes]
func (ParameterAttributes) EnumList ¶
func (p ParameterAttributes) EnumList() terra.ListValue[EnumListAttributes]
func (ParameterAttributes) Int ¶
func (p ParameterAttributes) Int() terra.ListValue[IntAttributes]
func (ParameterAttributes) IntList ¶
func (p ParameterAttributes) IntList() terra.ListValue[IntListAttributes]
func (ParameterAttributes) InternalRef ¶
func (p ParameterAttributes) InternalRef() (terra.Reference, error)
func (ParameterAttributes) InternalTokens ¶
func (p ParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ParameterAttributes) InternalWithRef ¶
func (p ParameterAttributes) InternalWithRef(ref terra.Reference) ParameterAttributes
func (ParameterAttributes) Name ¶
func (p ParameterAttributes) Name() terra.StringValue
func (ParameterAttributes) String ¶
func (p ParameterAttributes) String() terra.ListValue[StringAttributes]
func (ParameterAttributes) StringList ¶
func (p ParameterAttributes) StringList() terra.ListValue[StringListAttributes]
func (ParameterAttributes) ValueType ¶
func (p ParameterAttributes) ValueType() terra.StringValue
type ParameterState ¶
type ParameterState struct { Name string `json:"name"` ValueType string `json:"value_type"` Bool []BoolState `json:"bool"` Double []DoubleState `json:"double"` Enum []EnumState `json:"enum"` EnumList []EnumListState `json:"enum_list"` Int []IntState `json:"int"` IntList []IntListState `json:"int_list"` String []StringState `json:"string"` StringList []StringListState `json:"string_list"` }
type SecurityControlCustomParameter ¶
type SecurityControlCustomParameter struct { // SecurityControlId: string, required SecurityControlId terra.StringValue `hcl:"security_control_id,attr" validate:"required"` // Parameter: min=1 Parameter []Parameter `hcl:"parameter,block" validate:"min=1"` }
type SecurityControlCustomParameterAttributes ¶
type SecurityControlCustomParameterAttributes struct {
// contains filtered or unexported fields
}
func (SecurityControlCustomParameterAttributes) InternalRef ¶
func (sccp SecurityControlCustomParameterAttributes) InternalRef() (terra.Reference, error)
func (SecurityControlCustomParameterAttributes) InternalTokens ¶
func (sccp SecurityControlCustomParameterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityControlCustomParameterAttributes) InternalWithRef ¶
func (sccp SecurityControlCustomParameterAttributes) InternalWithRef(ref terra.Reference) SecurityControlCustomParameterAttributes
func (SecurityControlCustomParameterAttributes) Parameter ¶
func (sccp SecurityControlCustomParameterAttributes) Parameter() terra.SetValue[ParameterAttributes]
func (SecurityControlCustomParameterAttributes) SecurityControlId ¶
func (sccp SecurityControlCustomParameterAttributes) SecurityControlId() terra.StringValue
type SecurityControlCustomParameterState ¶
type SecurityControlCustomParameterState struct { SecurityControlId string `json:"security_control_id"` Parameter []ParameterState `json:"parameter"` }
type SecurityControlsConfiguration ¶
type SecurityControlsConfiguration struct { // DisabledControlIdentifiers: set of string, optional DisabledControlIdentifiers terra.SetValue[terra.StringValue] `hcl:"disabled_control_identifiers,attr"` // EnabledControlIdentifiers: set of string, optional EnabledControlIdentifiers terra.SetValue[terra.StringValue] `hcl:"enabled_control_identifiers,attr"` // SecurityControlCustomParameter: min=0 SecurityControlCustomParameter []SecurityControlCustomParameter `hcl:"security_control_custom_parameter,block" validate:"min=0"` }
type SecurityControlsConfigurationAttributes ¶
type SecurityControlsConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (SecurityControlsConfigurationAttributes) DisabledControlIdentifiers ¶
func (scc SecurityControlsConfigurationAttributes) DisabledControlIdentifiers() terra.SetValue[terra.StringValue]
func (SecurityControlsConfigurationAttributes) EnabledControlIdentifiers ¶
func (scc SecurityControlsConfigurationAttributes) EnabledControlIdentifiers() terra.SetValue[terra.StringValue]
func (SecurityControlsConfigurationAttributes) InternalRef ¶
func (scc SecurityControlsConfigurationAttributes) InternalRef() (terra.Reference, error)
func (SecurityControlsConfigurationAttributes) InternalTokens ¶
func (scc SecurityControlsConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SecurityControlsConfigurationAttributes) InternalWithRef ¶
func (scc SecurityControlsConfigurationAttributes) InternalWithRef(ref terra.Reference) SecurityControlsConfigurationAttributes
func (SecurityControlsConfigurationAttributes) SecurityControlCustomParameter ¶
func (scc SecurityControlsConfigurationAttributes) SecurityControlCustomParameter() terra.ListValue[SecurityControlCustomParameterAttributes]
type SecurityControlsConfigurationState ¶
type SecurityControlsConfigurationState struct { DisabledControlIdentifiers []string `json:"disabled_control_identifiers"` EnabledControlIdentifiers []string `json:"enabled_control_identifiers"` SecurityControlCustomParameter []SecurityControlCustomParameterState `json:"security_control_custom_parameter"` }
type String ¶
type String struct { // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type StringAttributes ¶
type StringAttributes struct {
// contains filtered or unexported fields
}
func (StringAttributes) InternalRef ¶
func (s StringAttributes) InternalRef() (terra.Reference, error)
func (StringAttributes) InternalTokens ¶
func (s StringAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StringAttributes) InternalWithRef ¶
func (s StringAttributes) InternalWithRef(ref terra.Reference) StringAttributes
func (StringAttributes) Value ¶
func (s StringAttributes) Value() terra.StringValue
type StringList ¶
type StringList struct { // Value: list of string, required Value terra.ListValue[terra.StringValue] `hcl:"value,attr" validate:"required"` }
type StringListAttributes ¶
type StringListAttributes struct {
// contains filtered or unexported fields
}
func (StringListAttributes) InternalRef ¶
func (sl StringListAttributes) InternalRef() (terra.Reference, error)
func (StringListAttributes) InternalTokens ¶
func (sl StringListAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StringListAttributes) InternalWithRef ¶
func (sl StringListAttributes) InternalWithRef(ref terra.Reference) StringListAttributes
func (StringListAttributes) Value ¶
func (sl StringListAttributes) Value() terra.ListValue[terra.StringValue]
type StringListState ¶
type StringListState struct {
Value []string `json:"value"`
}
type StringState ¶
type StringState struct {
Value string `json:"value"`
}
Click to show internal directories.
Click to hide internal directories.