s3bucketserversideencryptionconfiguration

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: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyServerSideEncryptionByDefault

type ApplyServerSideEncryptionByDefault struct {
	// KmsMasterKeyId: string, optional
	KmsMasterKeyId terra.StringValue `hcl:"kms_master_key_id,attr"`
	// SseAlgorithm: string, required
	SseAlgorithm terra.StringValue `hcl:"sse_algorithm,attr" validate:"required"`
}

type ApplyServerSideEncryptionByDefaultAttributes

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

func (ApplyServerSideEncryptionByDefaultAttributes) InternalRef

func (ApplyServerSideEncryptionByDefaultAttributes) InternalTokens

func (ApplyServerSideEncryptionByDefaultAttributes) InternalWithRef

func (ApplyServerSideEncryptionByDefaultAttributes) KmsMasterKeyId

func (ApplyServerSideEncryptionByDefaultAttributes) SseAlgorithm

type ApplyServerSideEncryptionByDefaultState

type ApplyServerSideEncryptionByDefaultState struct {
	KmsMasterKeyId string `json:"kms_master_key_id"`
	SseAlgorithm   string `json:"sse_algorithm"`
}

type Rule

type Rule struct {
	// BucketKeyEnabled: bool, optional
	BucketKeyEnabled terra.BoolValue `hcl:"bucket_key_enabled,attr"`
	// ApplyServerSideEncryptionByDefault: optional
	ApplyServerSideEncryptionByDefault *ApplyServerSideEncryptionByDefault `hcl:"apply_server_side_encryption_by_default,block"`
}

type RuleAttributes

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

func (RuleAttributes) ApplyServerSideEncryptionByDefault

func (r RuleAttributes) ApplyServerSideEncryptionByDefault() terra.ListValue[ApplyServerSideEncryptionByDefaultAttributes]

func (RuleAttributes) BucketKeyEnabled

func (r RuleAttributes) BucketKeyEnabled() terra.BoolValue

func (RuleAttributes) InternalRef

func (r RuleAttributes) InternalRef() (terra.Reference, error)

func (RuleAttributes) InternalTokens

func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)

func (RuleAttributes) InternalWithRef

func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes

type RuleState

type RuleState struct {
	BucketKeyEnabled                   bool                                      `json:"bucket_key_enabled"`
	ApplyServerSideEncryptionByDefault []ApplyServerSideEncryptionByDefaultState `json:"apply_server_side_encryption_by_default"`
}

Jump to

Keyboard shortcuts

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