verifiedaccessinstanceloggingconfiguration

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 AccessLogs

type AccessLogs struct {
	// IncludeTrustContext: bool, optional
	IncludeTrustContext terra.BoolValue `hcl:"include_trust_context,attr"`
	// LogVersion: string, optional
	LogVersion terra.StringValue `hcl:"log_version,attr"`
	// CloudwatchLogs: optional
	CloudwatchLogs *CloudwatchLogs `hcl:"cloudwatch_logs,block"`
	// KinesisDataFirehose: optional
	KinesisDataFirehose *KinesisDataFirehose `hcl:"kinesis_data_firehose,block"`
	// S3: optional
	S3 *S3 `hcl:"s3,block"`
}

type AccessLogsAttributes

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

func (AccessLogsAttributes) CloudwatchLogs

func (AccessLogsAttributes) IncludeTrustContext

func (al AccessLogsAttributes) IncludeTrustContext() terra.BoolValue

func (AccessLogsAttributes) InternalRef

func (al AccessLogsAttributes) InternalRef() (terra.Reference, error)

func (AccessLogsAttributes) InternalTokens

func (al AccessLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessLogsAttributes) InternalWithRef

func (al AccessLogsAttributes) InternalWithRef(ref terra.Reference) AccessLogsAttributes

func (AccessLogsAttributes) KinesisDataFirehose

func (AccessLogsAttributes) LogVersion

func (al AccessLogsAttributes) LogVersion() terra.StringValue

func (AccessLogsAttributes) S3

type AccessLogsState

type AccessLogsState struct {
	IncludeTrustContext bool                       `json:"include_trust_context"`
	LogVersion          string                     `json:"log_version"`
	CloudwatchLogs      []CloudwatchLogsState      `json:"cloudwatch_logs"`
	KinesisDataFirehose []KinesisDataFirehoseState `json:"kinesis_data_firehose"`
	S3                  []S3State                  `json:"s3"`
}

type CloudwatchLogs

type CloudwatchLogs struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// LogGroup: string, optional
	LogGroup terra.StringValue `hcl:"log_group,attr"`
}

type CloudwatchLogsAttributes

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

func (CloudwatchLogsAttributes) Enabled

func (CloudwatchLogsAttributes) InternalRef

func (cl CloudwatchLogsAttributes) InternalRef() (terra.Reference, error)

func (CloudwatchLogsAttributes) InternalTokens

func (cl CloudwatchLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudwatchLogsAttributes) InternalWithRef

func (CloudwatchLogsAttributes) LogGroup

type CloudwatchLogsState

type CloudwatchLogsState struct {
	Enabled  bool   `json:"enabled"`
	LogGroup string `json:"log_group"`
}

type KinesisDataFirehose

type KinesisDataFirehose struct {
	// DeliveryStream: string, optional
	DeliveryStream terra.StringValue `hcl:"delivery_stream,attr"`
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type KinesisDataFirehoseAttributes

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

func (KinesisDataFirehoseAttributes) DeliveryStream

func (kdf KinesisDataFirehoseAttributes) DeliveryStream() terra.StringValue

func (KinesisDataFirehoseAttributes) Enabled

func (KinesisDataFirehoseAttributes) InternalRef

func (kdf KinesisDataFirehoseAttributes) InternalRef() (terra.Reference, error)

func (KinesisDataFirehoseAttributes) InternalTokens

func (kdf KinesisDataFirehoseAttributes) InternalTokens() (hclwrite.Tokens, error)

func (KinesisDataFirehoseAttributes) InternalWithRef

type KinesisDataFirehoseState

type KinesisDataFirehoseState struct {
	DeliveryStream string `json:"delivery_stream"`
	Enabled        bool   `json:"enabled"`
}

type S3

type S3 struct {
	// BucketName: string, optional
	BucketName terra.StringValue `hcl:"bucket_name,attr"`
	// BucketOwner: string, optional
	BucketOwner terra.StringValue `hcl:"bucket_owner,attr"`
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
}

type S3Attributes

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

func (S3Attributes) BucketName

func (s S3Attributes) BucketName() terra.StringValue

func (S3Attributes) BucketOwner

func (s S3Attributes) BucketOwner() terra.StringValue

func (S3Attributes) Enabled

func (s S3Attributes) Enabled() terra.BoolValue

func (S3Attributes) InternalRef

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

func (S3Attributes) InternalTokens

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

func (S3Attributes) InternalWithRef

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

func (S3Attributes) Prefix

func (s S3Attributes) Prefix() terra.StringValue

type S3State

type S3State struct {
	BucketName  string `json:"bucket_name"`
	BucketOwner string `json:"bucket_owner"`
	Enabled     bool   `json:"enabled"`
	Prefix      string `json:"prefix"`
}

Jump to

Keyboard shortcuts

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