s3bucketobjectlockconfiguration

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 DefaultRetention

type DefaultRetention struct {
	// Days: number, optional
	Days terra.NumberValue `hcl:"days,attr"`
	// Mode: string, optional
	Mode terra.StringValue `hcl:"mode,attr"`
	// Years: number, optional
	Years terra.NumberValue `hcl:"years,attr"`
}

type DefaultRetentionAttributes

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

func (DefaultRetentionAttributes) Days

func (DefaultRetentionAttributes) InternalRef

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

func (DefaultRetentionAttributes) InternalTokens

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

func (DefaultRetentionAttributes) InternalWithRef

func (DefaultRetentionAttributes) Mode

func (DefaultRetentionAttributes) Years

type DefaultRetentionState

type DefaultRetentionState struct {
	Days  float64 `json:"days"`
	Mode  string  `json:"mode"`
	Years float64 `json:"years"`
}

type Rule

type Rule struct {
	// DefaultRetention: required
	DefaultRetention *DefaultRetention `hcl:"default_retention,block" validate:"required"`
}

type RuleAttributes

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

func (RuleAttributes) DefaultRetention

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 {
	DefaultRetention []DefaultRetentionState `json:"default_retention"`
}

Jump to

Keyboard shortcuts

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