securityhubconfigurationpolicy

package
v0.0.0-...-917d9f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

type Bool struct {
	// Value: bool, required
	Value terra.BoolValue `hcl:"value,attr" validate:"required"`
}

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 BoolState

type BoolState struct {
	Value bool `json:"value"`
}

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 (ConfigurationPolicyAttributes) SecurityControlsConfiguration

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

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

type EnumListState

type EnumListState struct {
	Value []string `json:"value"`
}

type EnumState

type EnumState 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

type IntListState

type IntListState struct {
	Value []float64 `json:"value"`
}

type IntState

type IntState 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 (ParameterAttributes) Double

func (ParameterAttributes) Enum

func (ParameterAttributes) EnumList

func (ParameterAttributes) Int

func (ParameterAttributes) IntList

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 (ParameterAttributes) String

func (ParameterAttributes) StringList

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 (SecurityControlCustomParameterAttributes) InternalTokens

func (SecurityControlCustomParameterAttributes) InternalWithRef

func (SecurityControlCustomParameterAttributes) Parameter

func (SecurityControlCustomParameterAttributes) SecurityControlId

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 (SecurityControlsConfigurationAttributes) InternalTokens

func (SecurityControlsConfigurationAttributes) InternalWithRef

func (SecurityControlsConfigurationAttributes) SecurityControlCustomParameter

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

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

type StringListState

type StringListState struct {
	Value []string `json:"value"`
}

type StringState

type StringState struct {
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL