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 And
- type AndAttributes
- func (a AndAttributes) InternalRef() (terra.Reference, error)
- func (a AndAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AndAttributes) InternalWithRef(ref terra.Reference) AndAttributes
- func (a AndAttributes) ObjectSizeGreaterThan() terra.NumberValue
- func (a AndAttributes) ObjectSizeLessThan() terra.NumberValue
- func (a AndAttributes) Prefix() terra.StringValue
- func (a AndAttributes) Tags() terra.MapValue[terra.StringValue]
- type AndState
- 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) And() terra.ListValue[AndAttributes]
- 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) ObjectSizeGreaterThan() terra.StringValue
- func (f FilterAttributes) ObjectSizeLessThan() terra.StringValue
- func (f FilterAttributes) Prefix() terra.StringValue
- func (f FilterAttributes) Tag() terra.ListValue[TagAttributes]
- type FilterState
- type NoncurrentVersionExpiration
- type NoncurrentVersionExpirationAttributes
- func (nve NoncurrentVersionExpirationAttributes) InternalRef() (terra.Reference, error)
- func (nve NoncurrentVersionExpirationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nve NoncurrentVersionExpirationAttributes) InternalWithRef(ref terra.Reference) NoncurrentVersionExpirationAttributes
- func (nve NoncurrentVersionExpirationAttributes) NewerNoncurrentVersions() terra.StringValue
- func (nve NoncurrentVersionExpirationAttributes) NoncurrentDays() terra.NumberValue
- type NoncurrentVersionExpirationState
- type NoncurrentVersionTransition
- type NoncurrentVersionTransitionAttributes
- func (nvt NoncurrentVersionTransitionAttributes) InternalRef() (terra.Reference, error)
- func (nvt NoncurrentVersionTransitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (nvt NoncurrentVersionTransitionAttributes) InternalWithRef(ref terra.Reference) NoncurrentVersionTransitionAttributes
- func (nvt NoncurrentVersionTransitionAttributes) NewerNoncurrentVersions() terra.StringValue
- func (nvt NoncurrentVersionTransitionAttributes) NoncurrentDays() terra.NumberValue
- func (nvt NoncurrentVersionTransitionAttributes) StorageClass() terra.StringValue
- type NoncurrentVersionTransitionState
- 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) NoncurrentVersionExpiration() terra.ListValue[NoncurrentVersionExpirationAttributes]
- func (r RuleAttributes) NoncurrentVersionTransition() terra.SetValue[NoncurrentVersionTransitionAttributes]
- func (r RuleAttributes) Prefix() terra.StringValue
- func (r RuleAttributes) Status() terra.StringValue
- func (r RuleAttributes) Transition() terra.SetValue[TransitionAttributes]
- type RuleState
- type Tag
- type TagAttributes
- type TagState
- type Timeouts
- type TimeoutsAttributes
- func (t TimeoutsAttributes) Create() terra.StringValue
- func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
- func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
- func (t TimeoutsAttributes) Update() terra.StringValue
- type TimeoutsState
- type Transition
- type TransitionAttributes
- func (t TransitionAttributes) Date() terra.StringValue
- func (t TransitionAttributes) Days() terra.NumberValue
- func (t TransitionAttributes) InternalRef() (terra.Reference, error)
- func (t TransitionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t TransitionAttributes) InternalWithRef(ref terra.Reference) TransitionAttributes
- func (t TransitionAttributes) StorageClass() terra.StringValue
- type TransitionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbortIncompleteMultipartUpload ¶
type AbortIncompleteMultipartUpload struct { // DaysAfterInitiation: number, optional DaysAfterInitiation terra.NumberValue `hcl:"days_after_initiation,attr"` }
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 And ¶
type And struct { // ObjectSizeGreaterThan: number, optional ObjectSizeGreaterThan terra.NumberValue `hcl:"object_size_greater_than,attr"` // ObjectSizeLessThan: number, optional ObjectSizeLessThan terra.NumberValue `hcl:"object_size_less_than,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
type AndAttributes ¶
type AndAttributes struct {
// contains filtered or unexported fields
}
func (AndAttributes) InternalRef ¶
func (a AndAttributes) InternalRef() (terra.Reference, error)
func (AndAttributes) InternalTokens ¶
func (a AndAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AndAttributes) InternalWithRef ¶
func (a AndAttributes) InternalWithRef(ref terra.Reference) AndAttributes
func (AndAttributes) ObjectSizeGreaterThan ¶
func (a AndAttributes) ObjectSizeGreaterThan() terra.NumberValue
func (AndAttributes) ObjectSizeLessThan ¶
func (a AndAttributes) ObjectSizeLessThan() terra.NumberValue
func (AndAttributes) Prefix ¶
func (a AndAttributes) Prefix() terra.StringValue
func (AndAttributes) Tags ¶
func (a AndAttributes) Tags() terra.MapValue[terra.StringValue]
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 { // ObjectSizeGreaterThan: string, optional ObjectSizeGreaterThan terra.StringValue `hcl:"object_size_greater_than,attr"` // ObjectSizeLessThan: string, optional ObjectSizeLessThan terra.StringValue `hcl:"object_size_less_than,attr"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // And: optional And *And `hcl:"and,block"` // Tag: optional Tag *Tag `hcl:"tag,block"` }
type FilterAttributes ¶
type FilterAttributes struct {
// contains filtered or unexported fields
}
func (FilterAttributes) And ¶
func (f FilterAttributes) And() terra.ListValue[AndAttributes]
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) ObjectSizeGreaterThan ¶
func (f FilterAttributes) ObjectSizeGreaterThan() terra.StringValue
func (FilterAttributes) ObjectSizeLessThan ¶
func (f FilterAttributes) ObjectSizeLessThan() terra.StringValue
func (FilterAttributes) Prefix ¶
func (f FilterAttributes) Prefix() terra.StringValue
func (FilterAttributes) Tag ¶
func (f FilterAttributes) Tag() terra.ListValue[TagAttributes]
type FilterState ¶
type NoncurrentVersionExpiration ¶
type NoncurrentVersionExpiration struct { // NewerNoncurrentVersions: string, optional NewerNoncurrentVersions terra.StringValue `hcl:"newer_noncurrent_versions,attr"` // NoncurrentDays: number, optional NoncurrentDays terra.NumberValue `hcl:"noncurrent_days,attr"` }
type NoncurrentVersionExpirationAttributes ¶
type NoncurrentVersionExpirationAttributes struct {
// contains filtered or unexported fields
}
func (NoncurrentVersionExpirationAttributes) InternalRef ¶
func (nve NoncurrentVersionExpirationAttributes) InternalRef() (terra.Reference, error)
func (NoncurrentVersionExpirationAttributes) InternalTokens ¶
func (nve NoncurrentVersionExpirationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NoncurrentVersionExpirationAttributes) InternalWithRef ¶
func (nve NoncurrentVersionExpirationAttributes) InternalWithRef(ref terra.Reference) NoncurrentVersionExpirationAttributes
func (NoncurrentVersionExpirationAttributes) NewerNoncurrentVersions ¶
func (nve NoncurrentVersionExpirationAttributes) NewerNoncurrentVersions() terra.StringValue
func (NoncurrentVersionExpirationAttributes) NoncurrentDays ¶
func (nve NoncurrentVersionExpirationAttributes) NoncurrentDays() terra.NumberValue
type NoncurrentVersionTransition ¶
type NoncurrentVersionTransition struct { // NewerNoncurrentVersions: string, optional NewerNoncurrentVersions terra.StringValue `hcl:"newer_noncurrent_versions,attr"` // NoncurrentDays: number, optional NoncurrentDays terra.NumberValue `hcl:"noncurrent_days,attr"` // StorageClass: string, required StorageClass terra.StringValue `hcl:"storage_class,attr" validate:"required"` }
type NoncurrentVersionTransitionAttributes ¶
type NoncurrentVersionTransitionAttributes struct {
// contains filtered or unexported fields
}
func (NoncurrentVersionTransitionAttributes) InternalRef ¶
func (nvt NoncurrentVersionTransitionAttributes) InternalRef() (terra.Reference, error)
func (NoncurrentVersionTransitionAttributes) InternalTokens ¶
func (nvt NoncurrentVersionTransitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (NoncurrentVersionTransitionAttributes) InternalWithRef ¶
func (nvt NoncurrentVersionTransitionAttributes) InternalWithRef(ref terra.Reference) NoncurrentVersionTransitionAttributes
func (NoncurrentVersionTransitionAttributes) NewerNoncurrentVersions ¶
func (nvt NoncurrentVersionTransitionAttributes) NewerNoncurrentVersions() terra.StringValue
func (NoncurrentVersionTransitionAttributes) NoncurrentDays ¶
func (nvt NoncurrentVersionTransitionAttributes) NoncurrentDays() terra.NumberValue
func (NoncurrentVersionTransitionAttributes) StorageClass ¶
func (nvt NoncurrentVersionTransitionAttributes) StorageClass() terra.StringValue
type Rule ¶
type Rule struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` // AbortIncompleteMultipartUpload: optional AbortIncompleteMultipartUpload *AbortIncompleteMultipartUpload `hcl:"abort_incomplete_multipart_upload,block"` // Expiration: optional Expiration *Expiration `hcl:"expiration,block"` // Filter: optional Filter *Filter `hcl:"filter,block"` // NoncurrentVersionExpiration: optional NoncurrentVersionExpiration *NoncurrentVersionExpiration `hcl:"noncurrent_version_expiration,block"` // NoncurrentVersionTransition: min=0 NoncurrentVersionTransition []NoncurrentVersionTransition `hcl:"noncurrent_version_transition,block" validate:"min=0"` // Transition: min=0 Transition []Transition `hcl:"transition,block" validate:"min=0"` }
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) NoncurrentVersionExpiration ¶
func (r RuleAttributes) NoncurrentVersionExpiration() terra.ListValue[NoncurrentVersionExpirationAttributes]
func (RuleAttributes) NoncurrentVersionTransition ¶
func (r RuleAttributes) NoncurrentVersionTransition() terra.SetValue[NoncurrentVersionTransitionAttributes]
func (RuleAttributes) Prefix ¶
func (r RuleAttributes) Prefix() terra.StringValue
func (RuleAttributes) Status ¶
func (r RuleAttributes) Status() terra.StringValue
func (RuleAttributes) Transition ¶
func (r RuleAttributes) Transition() terra.SetValue[TransitionAttributes]
type RuleState ¶
type RuleState struct { Id string `json:"id"` Prefix string `json:"prefix"` Status string `json:"status"` AbortIncompleteMultipartUpload []AbortIncompleteMultipartUploadState `json:"abort_incomplete_multipart_upload"` Expiration []ExpirationState `json:"expiration"` Filter []FilterState `json:"filter"` NoncurrentVersionExpiration []NoncurrentVersionExpirationState `json:"noncurrent_version_expiration"` NoncurrentVersionTransition []NoncurrentVersionTransitionState `json:"noncurrent_version_transition"` Transition []TransitionState `json:"transition"` }
type Tag ¶
type Tag struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type TagAttributes ¶
type TagAttributes struct {
// contains filtered or unexported fields
}
func (TagAttributes) InternalRef ¶
func (t TagAttributes) InternalRef() (terra.Reference, error)
func (TagAttributes) InternalTokens ¶
func (t TagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TagAttributes) InternalWithRef ¶
func (t TagAttributes) InternalWithRef(ref terra.Reference) TagAttributes
func (TagAttributes) Key ¶
func (t TagAttributes) Key() terra.StringValue
func (TagAttributes) Value ¶
func (t TagAttributes) Value() terra.StringValue
type Timeouts ¶
type Timeouts struct { // Create: string, optional Create terra.StringValue `hcl:"create,attr"` // Update: string, optional Update terra.StringValue `hcl:"update,attr"` }
type TimeoutsAttributes ¶
type TimeoutsAttributes struct {
// contains filtered or unexported fields
}
func (TimeoutsAttributes) Create ¶
func (t TimeoutsAttributes) Create() terra.StringValue
func (TimeoutsAttributes) InternalRef ¶
func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)
func (TimeoutsAttributes) InternalTokens ¶
func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TimeoutsAttributes) InternalWithRef ¶
func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes
func (TimeoutsAttributes) Update ¶
func (t TimeoutsAttributes) Update() terra.StringValue
type TimeoutsState ¶
type Transition ¶
type Transition struct { // Date: string, optional Date terra.StringValue `hcl:"date,attr"` // Days: number, optional Days terra.NumberValue `hcl:"days,attr"` // StorageClass: string, required StorageClass terra.StringValue `hcl:"storage_class,attr" validate:"required"` }
type TransitionAttributes ¶
type TransitionAttributes struct {
// contains filtered or unexported fields
}
func (TransitionAttributes) Date ¶
func (t TransitionAttributes) Date() terra.StringValue
func (TransitionAttributes) Days ¶
func (t TransitionAttributes) Days() terra.NumberValue
func (TransitionAttributes) InternalRef ¶
func (t TransitionAttributes) InternalRef() (terra.Reference, error)
func (TransitionAttributes) InternalTokens ¶
func (t TransitionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (TransitionAttributes) InternalWithRef ¶
func (t TransitionAttributes) InternalWithRef(ref terra.Reference) TransitionAttributes
func (TransitionAttributes) StorageClass ¶
func (t TransitionAttributes) StorageClass() terra.StringValue
type TransitionState ¶
Click to show internal directories.
Click to hide internal directories.