s3bucketinventory

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 Bucket

type Bucket struct {
	// AccountId: string, optional
	AccountId terra.StringValue `hcl:"account_id,attr"`
	// BucketArn: string, required
	BucketArn terra.StringValue `hcl:"bucket_arn,attr" validate:"required"`
	// Format: string, required
	Format terra.StringValue `hcl:"format,attr" validate:"required"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// Encryption: optional
	Encryption *Encryption `hcl:"encryption,block"`
}

type BucketAttributes

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

func (BucketAttributes) AccountId

func (b BucketAttributes) AccountId() terra.StringValue

func (BucketAttributes) BucketArn

func (b BucketAttributes) BucketArn() terra.StringValue

func (BucketAttributes) Encryption

func (BucketAttributes) Format

func (b BucketAttributes) Format() terra.StringValue

func (BucketAttributes) InternalRef

func (b BucketAttributes) InternalRef() (terra.Reference, error)

func (BucketAttributes) InternalTokens

func (b BucketAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BucketAttributes) InternalWithRef

func (b BucketAttributes) InternalWithRef(ref terra.Reference) BucketAttributes

func (BucketAttributes) Prefix

func (b BucketAttributes) Prefix() terra.StringValue

type BucketState

type BucketState struct {
	AccountId  string            `json:"account_id"`
	BucketArn  string            `json:"bucket_arn"`
	Format     string            `json:"format"`
	Prefix     string            `json:"prefix"`
	Encryption []EncryptionState `json:"encryption"`
}

type Destination

type Destination struct {
	// Bucket: required
	Bucket *Bucket `hcl:"bucket,block" validate:"required"`
}

type DestinationAttributes

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

func (DestinationAttributes) Bucket

func (DestinationAttributes) InternalRef

func (d DestinationAttributes) InternalRef() (terra.Reference, error)

func (DestinationAttributes) InternalTokens

func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DestinationAttributes) InternalWithRef

type DestinationState

type DestinationState struct {
	Bucket []BucketState `json:"bucket"`
}

type Encryption

type Encryption struct {
	// SseKms: optional
	SseKms *SseKms `hcl:"sse_kms,block"`
	// SseS3: optional
	SseS3 *SseS3 `hcl:"sse_s3,block"`
}

type EncryptionAttributes

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

func (EncryptionAttributes) InternalRef

func (e EncryptionAttributes) InternalRef() (terra.Reference, error)

func (EncryptionAttributes) InternalTokens

func (e EncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionAttributes) InternalWithRef

func (EncryptionAttributes) SseKms

func (EncryptionAttributes) SseS3

type EncryptionState

type EncryptionState struct {
	SseKms []SseKmsState `json:"sse_kms"`
	SseS3  []SseS3State  `json:"sse_s3"`
}

type Filter

type Filter struct {
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
}

type FilterAttributes

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

func (FilterAttributes) InternalRef

func (f FilterAttributes) InternalRef() (terra.Reference, error)

func (FilterAttributes) InternalTokens

func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FilterAttributes) InternalWithRef

func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes

func (FilterAttributes) Prefix

func (f FilterAttributes) Prefix() terra.StringValue

type FilterState

type FilterState struct {
	Prefix string `json:"prefix"`
}

type Schedule

type Schedule struct {
	// Frequency: string, required
	Frequency terra.StringValue `hcl:"frequency,attr" validate:"required"`
}

type ScheduleAttributes

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

func (ScheduleAttributes) Frequency

func (s ScheduleAttributes) Frequency() terra.StringValue

func (ScheduleAttributes) InternalRef

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

func (ScheduleAttributes) InternalTokens

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

func (ScheduleAttributes) InternalWithRef

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

type ScheduleState

type ScheduleState struct {
	Frequency string `json:"frequency"`
}

type SseKms

type SseKms struct {
	// KeyId: string, required
	KeyId terra.StringValue `hcl:"key_id,attr" validate:"required"`
}

type SseKmsAttributes

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

func (SseKmsAttributes) InternalRef

func (sk SseKmsAttributes) InternalRef() (terra.Reference, error)

func (SseKmsAttributes) InternalTokens

func (sk SseKmsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SseKmsAttributes) InternalWithRef

func (sk SseKmsAttributes) InternalWithRef(ref terra.Reference) SseKmsAttributes

func (SseKmsAttributes) KeyId

func (sk SseKmsAttributes) KeyId() terra.StringValue

type SseKmsState

type SseKmsState struct {
	KeyId string `json:"key_id"`
}

type SseS3

type SseS3 struct{}

type SseS3Attributes

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

func (SseS3Attributes) InternalRef

func (ss SseS3Attributes) InternalRef() (terra.Reference, error)

func (SseS3Attributes) InternalTokens

func (ss SseS3Attributes) InternalTokens() (hclwrite.Tokens, error)

func (SseS3Attributes) InternalWithRef

func (ss SseS3Attributes) InternalWithRef(ref terra.Reference) SseS3Attributes

type SseS3State

type SseS3State struct{}

Jump to

Keyboard shortcuts

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