Documentation ¶
Index ¶
- type AbortIncompleteMultipartUpload
- type AbortIncompleteMultipartUploadAttributes
- func (aimu AbortIncompleteMultipartUploadAttributes) DaysAfterInitiation() terra.NumberValue
- func (aimu AbortIncompleteMultipartUploadAttributes) InternalRef() (terra.Reference, error)
- func (aimu AbortIncompleteMultipartUploadAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aimu AbortIncompleteMultipartUploadAttributes) InternalWithRef(ref terra.Reference) AbortIncompleteMultipartUploadAttributes
- type AbortIncompleteMultipartUploadState
- type Expiration
- type ExpirationAttributes
- func (e ExpirationAttributes) Date() terra.StringValue
- func (e ExpirationAttributes) Days() terra.NumberValue
- func (e ExpirationAttributes) ExpiredObjectDeleteMarker() terra.BoolValue
- func (e ExpirationAttributes) InternalRef() (terra.Reference, error)
- func (e ExpirationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e ExpirationAttributes) InternalWithRef(ref terra.Reference) ExpirationAttributes
- type ExpirationState
- type Filter
- type FilterAttributes
- func (f FilterAttributes) InternalRef() (terra.Reference, error)
- func (f FilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f FilterAttributes) InternalWithRef(ref terra.Reference) FilterAttributes
- func (f FilterAttributes) Prefix() terra.StringValue
- func (f FilterAttributes) Tags() terra.MapValue[terra.StringValue]
- type FilterState
- type Rule
- type RuleAttributes
- func (r RuleAttributes) AbortIncompleteMultipartUpload() terra.ListValue[AbortIncompleteMultipartUploadAttributes]
- func (r RuleAttributes) Expiration() terra.ListValue[ExpirationAttributes]
- func (r RuleAttributes) Filter() terra.ListValue[FilterAttributes]
- func (r RuleAttributes) Id() terra.StringValue
- func (r RuleAttributes) InternalRef() (terra.Reference, error)
- func (r RuleAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RuleAttributes) InternalWithRef(ref terra.Reference) RuleAttributes
- func (r RuleAttributes) Status() terra.StringValue
- type RuleState
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 (aimu AbortIncompleteMultipartUploadAttributes) InternalRef() (terra.Reference, error)
func (AbortIncompleteMultipartUploadAttributes) InternalTokens ¶
func (aimu AbortIncompleteMultipartUploadAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AbortIncompleteMultipartUploadAttributes) InternalWithRef ¶
func (aimu AbortIncompleteMultipartUploadAttributes) InternalWithRef(ref terra.Reference) AbortIncompleteMultipartUploadAttributes
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 (e ExpirationAttributes) Date() terra.StringValue
func (ExpirationAttributes) Days ¶
func (e ExpirationAttributes) Days() terra.NumberValue
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 ¶
func (e ExpirationAttributes) InternalWithRef(ref terra.Reference) ExpirationAttributes
type ExpirationState ¶
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 ¶
func (f FilterAttributes) Tags() terra.MapValue[terra.StringValue]
type FilterState ¶
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 (r RuleAttributes) Expiration() terra.ListValue[ExpirationAttributes]
func (RuleAttributes) Filter ¶
func (r RuleAttributes) Filter() terra.ListValue[FilterAttributes]
func (RuleAttributes) Id ¶
func (r RuleAttributes) Id() terra.StringValue
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"` }
Click to show internal directories.
Click to hide internal directories.