s3controlbucketlifecycleconfiguration

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 AbortIncompleteMultipartUpload

type AbortIncompleteMultipartUpload struct {
	// DaysAfterInitiation: number, required
	DaysAfterInitiation terra.NumberValue `hcl:"days_after_initiation,attr" validate:"required"`
}

type AbortIncompleteMultipartUploadAttributes

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

func (AbortIncompleteMultipartUploadAttributes) DaysAfterInitiation

func (aimu AbortIncompleteMultipartUploadAttributes) DaysAfterInitiation() terra.NumberValue

func (AbortIncompleteMultipartUploadAttributes) InternalRef

func (AbortIncompleteMultipartUploadAttributes) InternalTokens

func (AbortIncompleteMultipartUploadAttributes) InternalWithRef

type AbortIncompleteMultipartUploadState

type AbortIncompleteMultipartUploadState struct {
	DaysAfterInitiation float64 `json:"days_after_initiation"`
}

type Expiration

type Expiration struct {
	// Date: string, optional
	Date terra.StringValue `hcl:"date,attr"`
	// Days: number, optional
	Days terra.NumberValue `hcl:"days,attr"`
	// ExpiredObjectDeleteMarker: bool, optional
	ExpiredObjectDeleteMarker terra.BoolValue `hcl:"expired_object_delete_marker,attr"`
}

type ExpirationAttributes

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

func (ExpirationAttributes) Date

func (ExpirationAttributes) Days

func (ExpirationAttributes) ExpiredObjectDeleteMarker

func (e ExpirationAttributes) ExpiredObjectDeleteMarker() terra.BoolValue

func (ExpirationAttributes) InternalRef

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

func (ExpirationAttributes) InternalTokens

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

func (ExpirationAttributes) InternalWithRef

type ExpirationState

type ExpirationState struct {
	Date                      string  `json:"date"`
	Days                      float64 `json:"days"`
	ExpiredObjectDeleteMarker bool    `json:"expired_object_delete_marker"`
}

type Filter

type Filter struct {
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,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

func (FilterAttributes) Tags

type FilterState

type FilterState struct {
	Prefix string            `json:"prefix"`
	Tags   map[string]string `json:"tags"`
}

type Rule

type Rule struct {
	// Id: string, required
	Id terra.StringValue `hcl:"id,attr" validate:"required"`
	// Status: string, optional
	Status terra.StringValue `hcl:"status,attr"`
	// AbortIncompleteMultipartUpload: optional
	AbortIncompleteMultipartUpload *AbortIncompleteMultipartUpload `hcl:"abort_incomplete_multipart_upload,block"`
	// Expiration: optional
	Expiration *Expiration `hcl:"expiration,block"`
	// Filter: optional
	Filter *Filter `hcl:"filter,block"`
}

type RuleAttributes

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

func (RuleAttributes) AbortIncompleteMultipartUpload

func (r RuleAttributes) AbortIncompleteMultipartUpload() terra.ListValue[AbortIncompleteMultipartUploadAttributes]

func (RuleAttributes) Expiration

func (RuleAttributes) Filter

func (RuleAttributes) Id

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

func (RuleAttributes) Status

func (r RuleAttributes) Status() terra.StringValue

type RuleState

type RuleState struct {
	Id                             string                                `json:"id"`
	Status                         string                                `json:"status"`
	AbortIncompleteMultipartUpload []AbortIncompleteMultipartUploadState `json:"abort_incomplete_multipart_upload"`
	Expiration                     []ExpirationState                     `json:"expiration"`
	Filter                         []FilterState                         `json:"filter"`
}

Jump to

Keyboard shortcuts

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