cloudtrail

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 AdvancedEventSelector

type AdvancedEventSelector struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// FieldSelector: min=1
	FieldSelector []FieldSelector `hcl:"field_selector,block" validate:"min=1"`
}

type AdvancedEventSelectorAttributes

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

func (AdvancedEventSelectorAttributes) FieldSelector

func (AdvancedEventSelectorAttributes) InternalRef

func (AdvancedEventSelectorAttributes) InternalTokens

func (aes AdvancedEventSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AdvancedEventSelectorAttributes) InternalWithRef

func (AdvancedEventSelectorAttributes) Name

type AdvancedEventSelectorState

type AdvancedEventSelectorState struct {
	Name          string               `json:"name"`
	FieldSelector []FieldSelectorState `json:"field_selector"`
}

type DataResource

type DataResource struct {
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// Values: list of string, required
	Values terra.ListValue[terra.StringValue] `hcl:"values,attr" validate:"required"`
}

type DataResourceAttributes

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

func (DataResourceAttributes) InternalRef

func (dr DataResourceAttributes) InternalRef() (terra.Reference, error)

func (DataResourceAttributes) InternalTokens

func (dr DataResourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataResourceAttributes) InternalWithRef

func (DataResourceAttributes) Type

func (DataResourceAttributes) Values

type DataResourceState

type DataResourceState struct {
	Type   string   `json:"type"`
	Values []string `json:"values"`
}

type EventSelector

type EventSelector struct {
	// ExcludeManagementEventSources: set of string, optional
	ExcludeManagementEventSources terra.SetValue[terra.StringValue] `hcl:"exclude_management_event_sources,attr"`
	// IncludeManagementEvents: bool, optional
	IncludeManagementEvents terra.BoolValue `hcl:"include_management_events,attr"`
	// ReadWriteType: string, optional
	ReadWriteType terra.StringValue `hcl:"read_write_type,attr"`
	// DataResource: min=0
	DataResource []DataResource `hcl:"data_resource,block" validate:"min=0"`
}

type EventSelectorAttributes

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

func (EventSelectorAttributes) DataResource

func (EventSelectorAttributes) ExcludeManagementEventSources

func (es EventSelectorAttributes) ExcludeManagementEventSources() terra.SetValue[terra.StringValue]

func (EventSelectorAttributes) IncludeManagementEvents

func (es EventSelectorAttributes) IncludeManagementEvents() terra.BoolValue

func (EventSelectorAttributes) InternalRef

func (es EventSelectorAttributes) InternalRef() (terra.Reference, error)

func (EventSelectorAttributes) InternalTokens

func (es EventSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventSelectorAttributes) InternalWithRef

func (EventSelectorAttributes) ReadWriteType

func (es EventSelectorAttributes) ReadWriteType() terra.StringValue

type EventSelectorState

type EventSelectorState struct {
	ExcludeManagementEventSources []string            `json:"exclude_management_event_sources"`
	IncludeManagementEvents       bool                `json:"include_management_events"`
	ReadWriteType                 string              `json:"read_write_type"`
	DataResource                  []DataResourceState `json:"data_resource"`
}

type FieldSelector

type FieldSelector struct {
	// EndsWith: list of string, optional
	EndsWith terra.ListValue[terra.StringValue] `hcl:"ends_with,attr"`
	// Equals: list of string, optional
	Equals terra.ListValue[terra.StringValue] `hcl:"equals,attr"`
	// Field: string, required
	Field terra.StringValue `hcl:"field,attr" validate:"required"`
	// NotEndsWith: list of string, optional
	NotEndsWith terra.ListValue[terra.StringValue] `hcl:"not_ends_with,attr"`
	// NotEquals: list of string, optional
	NotEquals terra.ListValue[terra.StringValue] `hcl:"not_equals,attr"`
	// NotStartsWith: list of string, optional
	NotStartsWith terra.ListValue[terra.StringValue] `hcl:"not_starts_with,attr"`
	// StartsWith: list of string, optional
	StartsWith terra.ListValue[terra.StringValue] `hcl:"starts_with,attr"`
}

type FieldSelectorAttributes

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

func (FieldSelectorAttributes) EndsWith

func (FieldSelectorAttributes) Equals

func (FieldSelectorAttributes) Field

func (FieldSelectorAttributes) InternalRef

func (fs FieldSelectorAttributes) InternalRef() (terra.Reference, error)

func (FieldSelectorAttributes) InternalTokens

func (fs FieldSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FieldSelectorAttributes) InternalWithRef

func (FieldSelectorAttributes) NotEndsWith

func (FieldSelectorAttributes) NotEquals

func (FieldSelectorAttributes) NotStartsWith

func (FieldSelectorAttributes) StartsWith

type FieldSelectorState

type FieldSelectorState struct {
	EndsWith      []string `json:"ends_with"`
	Equals        []string `json:"equals"`
	Field         string   `json:"field"`
	NotEndsWith   []string `json:"not_ends_with"`
	NotEquals     []string `json:"not_equals"`
	NotStartsWith []string `json:"not_starts_with"`
	StartsWith    []string `json:"starts_with"`
}

type InsightSelector

type InsightSelector struct {
	// InsightType: string, required
	InsightType terra.StringValue `hcl:"insight_type,attr" validate:"required"`
}

type InsightSelectorAttributes

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

func (InsightSelectorAttributes) InsightType

func (is InsightSelectorAttributes) InsightType() terra.StringValue

func (InsightSelectorAttributes) InternalRef

func (is InsightSelectorAttributes) InternalRef() (terra.Reference, error)

func (InsightSelectorAttributes) InternalTokens

func (is InsightSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (InsightSelectorAttributes) InternalWithRef

type InsightSelectorState

type InsightSelectorState struct {
	InsightType string `json:"insight_type"`
}

Jump to

Keyboard shortcuts

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