configconfigurationrecorder

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 ExclusionByResourceTypes

type ExclusionByResourceTypes struct {
	// ResourceTypes: set of string, optional
	ResourceTypes terra.SetValue[terra.StringValue] `hcl:"resource_types,attr"`
}

type ExclusionByResourceTypesAttributes

type ExclusionByResourceTypesAttributes struct {
	// contains filtered or unexported fields
}

func (ExclusionByResourceTypesAttributes) InternalRef

func (ExclusionByResourceTypesAttributes) InternalTokens

func (ebrt ExclusionByResourceTypesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExclusionByResourceTypesAttributes) InternalWithRef

func (ExclusionByResourceTypesAttributes) ResourceTypes

type ExclusionByResourceTypesState

type ExclusionByResourceTypesState struct {
	ResourceTypes []string `json:"resource_types"`
}

type RecordingGroup

type RecordingGroup struct {
	// AllSupported: bool, optional
	AllSupported terra.BoolValue `hcl:"all_supported,attr"`
	// IncludeGlobalResourceTypes: bool, optional
	IncludeGlobalResourceTypes terra.BoolValue `hcl:"include_global_resource_types,attr"`
	// ResourceTypes: set of string, optional
	ResourceTypes terra.SetValue[terra.StringValue] `hcl:"resource_types,attr"`
	// ExclusionByResourceTypes: min=0
	ExclusionByResourceTypes []ExclusionByResourceTypes `hcl:"exclusion_by_resource_types,block" validate:"min=0"`
	// RecordingStrategy: min=0
	RecordingStrategy []RecordingStrategy `hcl:"recording_strategy,block" validate:"min=0"`
}

type RecordingGroupAttributes

type RecordingGroupAttributes struct {
	// contains filtered or unexported fields
}

func (RecordingGroupAttributes) AllSupported

func (rg RecordingGroupAttributes) AllSupported() terra.BoolValue

func (RecordingGroupAttributes) ExclusionByResourceTypes

func (RecordingGroupAttributes) IncludeGlobalResourceTypes

func (rg RecordingGroupAttributes) IncludeGlobalResourceTypes() terra.BoolValue

func (RecordingGroupAttributes) InternalRef

func (rg RecordingGroupAttributes) InternalRef() (terra.Reference, error)

func (RecordingGroupAttributes) InternalTokens

func (rg RecordingGroupAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RecordingGroupAttributes) InternalWithRef

func (RecordingGroupAttributes) RecordingStrategy

func (RecordingGroupAttributes) ResourceTypes

type RecordingGroupState

type RecordingGroupState struct {
	AllSupported               bool                            `json:"all_supported"`
	IncludeGlobalResourceTypes bool                            `json:"include_global_resource_types"`
	ResourceTypes              []string                        `json:"resource_types"`
	ExclusionByResourceTypes   []ExclusionByResourceTypesState `json:"exclusion_by_resource_types"`
	RecordingStrategy          []RecordingStrategyState        `json:"recording_strategy"`
}

type RecordingMode

type RecordingMode struct {
	// RecordingFrequency: string, optional
	RecordingFrequency terra.StringValue `hcl:"recording_frequency,attr"`
	// RecordingModeOverride: optional
	RecordingModeOverride *RecordingModeOverride `hcl:"recording_mode_override,block"`
}

type RecordingModeAttributes

type RecordingModeAttributes struct {
	// contains filtered or unexported fields
}

func (RecordingModeAttributes) InternalRef

func (rm RecordingModeAttributes) InternalRef() (terra.Reference, error)

func (RecordingModeAttributes) InternalTokens

func (rm RecordingModeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RecordingModeAttributes) InternalWithRef

func (RecordingModeAttributes) RecordingFrequency

func (rm RecordingModeAttributes) RecordingFrequency() terra.StringValue

func (RecordingModeAttributes) RecordingModeOverride

type RecordingModeOverride

type RecordingModeOverride struct {
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// RecordingFrequency: string, required
	RecordingFrequency terra.StringValue `hcl:"recording_frequency,attr" validate:"required"`
	// ResourceTypes: set of string, required
	ResourceTypes terra.SetValue[terra.StringValue] `hcl:"resource_types,attr" validate:"required"`
}

type RecordingModeOverrideAttributes

type RecordingModeOverrideAttributes struct {
	// contains filtered or unexported fields
}

func (RecordingModeOverrideAttributes) Description

func (RecordingModeOverrideAttributes) InternalRef

func (RecordingModeOverrideAttributes) InternalTokens

func (rmo RecordingModeOverrideAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RecordingModeOverrideAttributes) InternalWithRef

func (RecordingModeOverrideAttributes) RecordingFrequency

func (rmo RecordingModeOverrideAttributes) RecordingFrequency() terra.StringValue

func (RecordingModeOverrideAttributes) ResourceTypes

type RecordingModeOverrideState

type RecordingModeOverrideState struct {
	Description        string   `json:"description"`
	RecordingFrequency string   `json:"recording_frequency"`
	ResourceTypes      []string `json:"resource_types"`
}

type RecordingModeState

type RecordingModeState struct {
	RecordingFrequency    string                       `json:"recording_frequency"`
	RecordingModeOverride []RecordingModeOverrideState `json:"recording_mode_override"`
}

type RecordingStrategy

type RecordingStrategy struct {
	// UseOnly: string, optional
	UseOnly terra.StringValue `hcl:"use_only,attr"`
}

type RecordingStrategyAttributes

type RecordingStrategyAttributes struct {
	// contains filtered or unexported fields
}

func (RecordingStrategyAttributes) InternalRef

func (rs RecordingStrategyAttributes) InternalRef() (terra.Reference, error)

func (RecordingStrategyAttributes) InternalTokens

func (rs RecordingStrategyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RecordingStrategyAttributes) InternalWithRef

func (RecordingStrategyAttributes) UseOnly

type RecordingStrategyState

type RecordingStrategyState struct {
	UseOnly string `json:"use_only"`
}

Jump to

Keyboard shortcuts

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