securitylakeawslogsource

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 Source

type Source struct {
	// Accounts: set of string, optional
	Accounts terra.SetValue[terra.StringValue] `hcl:"accounts,attr"`
	// Regions: set of string, required
	Regions terra.SetValue[terra.StringValue] `hcl:"regions,attr" validate:"required"`
	// SourceName: string, required
	SourceName terra.StringValue `hcl:"source_name,attr" validate:"required"`
	// SourceVersion: string, optional
	SourceVersion terra.StringValue `hcl:"source_version,attr"`
}

type SourceAttributes

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

func (SourceAttributes) Accounts

func (SourceAttributes) InternalRef

func (s SourceAttributes) InternalRef() (terra.Reference, error)

func (SourceAttributes) InternalTokens

func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceAttributes) InternalWithRef

func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes

func (SourceAttributes) Regions

func (SourceAttributes) SourceName

func (s SourceAttributes) SourceName() terra.StringValue

func (SourceAttributes) SourceVersion

func (s SourceAttributes) SourceVersion() terra.StringValue

type SourceState

type SourceState struct {
	Accounts      []string `json:"accounts"`
	Regions       []string `json:"regions"`
	SourceName    string   `json:"source_name"`
	SourceVersion string   `json:"source_version"`
}

Jump to

Keyboard shortcuts

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