Documentation ¶
Index ¶
- type Bucket
- type BucketAttributes
- func (b BucketAttributes) AccountId() terra.StringValue
- func (b BucketAttributes) BucketArn() terra.StringValue
- func (b BucketAttributes) Encryption() terra.ListValue[EncryptionAttributes]
- func (b BucketAttributes) Format() terra.StringValue
- func (b BucketAttributes) InternalRef() (terra.Reference, error)
- func (b BucketAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (b BucketAttributes) InternalWithRef(ref terra.Reference) BucketAttributes
- func (b BucketAttributes) Prefix() terra.StringValue
- type BucketState
- type Destination
- type DestinationAttributes
- func (d DestinationAttributes) Bucket() terra.ListValue[BucketAttributes]
- func (d DestinationAttributes) InternalRef() (terra.Reference, error)
- func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DestinationAttributes) InternalWithRef(ref terra.Reference) DestinationAttributes
- type DestinationState
- type Encryption
- type EncryptionAttributes
- func (e EncryptionAttributes) InternalRef() (terra.Reference, error)
- func (e EncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e EncryptionAttributes) InternalWithRef(ref terra.Reference) EncryptionAttributes
- func (e EncryptionAttributes) SseKms() terra.ListValue[SseKmsAttributes]
- func (e EncryptionAttributes) SseS3() terra.ListValue[SseS3Attributes]
- type EncryptionState
- type Filter
- type FilterAttributes
- type FilterState
- type Schedule
- type ScheduleAttributes
- type ScheduleState
- type SseKms
- type SseKmsAttributes
- type SseKmsState
- type SseS3
- type SseS3Attributes
- type SseS3State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bucket ¶
type Bucket struct { // AccountId: string, optional AccountId terra.StringValue `hcl:"account_id,attr"` // BucketArn: string, required BucketArn terra.StringValue `hcl:"bucket_arn,attr" validate:"required"` // Format: string, required Format terra.StringValue `hcl:"format,attr" validate:"required"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Encryption: optional Encryption *Encryption `hcl:"encryption,block"` }
type BucketAttributes ¶
type BucketAttributes struct {
// contains filtered or unexported fields
}
func (BucketAttributes) AccountId ¶
func (b BucketAttributes) AccountId() terra.StringValue
func (BucketAttributes) BucketArn ¶
func (b BucketAttributes) BucketArn() terra.StringValue
func (BucketAttributes) Encryption ¶
func (b BucketAttributes) Encryption() terra.ListValue[EncryptionAttributes]
func (BucketAttributes) Format ¶
func (b BucketAttributes) Format() terra.StringValue
func (BucketAttributes) InternalRef ¶
func (b BucketAttributes) InternalRef() (terra.Reference, error)
func (BucketAttributes) InternalTokens ¶
func (b BucketAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BucketAttributes) InternalWithRef ¶
func (b BucketAttributes) InternalWithRef(ref terra.Reference) BucketAttributes
func (BucketAttributes) Prefix ¶
func (b BucketAttributes) Prefix() terra.StringValue
type BucketState ¶
type BucketState struct { AccountId string `json:"account_id"` BucketArn string `json:"bucket_arn"` Format string `json:"format"` Prefix string `json:"prefix"` Encryption []EncryptionState `json:"encryption"` }
type Destination ¶
type Destination struct { // Bucket: required Bucket *Bucket `hcl:"bucket,block" validate:"required"` }
type DestinationAttributes ¶
type DestinationAttributes struct {
// contains filtered or unexported fields
}
func (DestinationAttributes) Bucket ¶
func (d DestinationAttributes) Bucket() terra.ListValue[BucketAttributes]
func (DestinationAttributes) InternalRef ¶
func (d DestinationAttributes) InternalRef() (terra.Reference, error)
func (DestinationAttributes) InternalTokens ¶
func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationAttributes) InternalWithRef ¶
func (d DestinationAttributes) InternalWithRef(ref terra.Reference) DestinationAttributes
type DestinationState ¶
type DestinationState struct {
Bucket []BucketState `json:"bucket"`
}
type Encryption ¶
type EncryptionAttributes ¶
type EncryptionAttributes struct {
// contains filtered or unexported fields
}
func (EncryptionAttributes) InternalRef ¶
func (e EncryptionAttributes) InternalRef() (terra.Reference, error)
func (EncryptionAttributes) InternalTokens ¶
func (e EncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EncryptionAttributes) InternalWithRef ¶
func (e EncryptionAttributes) InternalWithRef(ref terra.Reference) EncryptionAttributes
func (EncryptionAttributes) SseKms ¶
func (e EncryptionAttributes) SseKms() terra.ListValue[SseKmsAttributes]
func (EncryptionAttributes) SseS3 ¶
func (e EncryptionAttributes) SseS3() terra.ListValue[SseS3Attributes]
type EncryptionState ¶
type EncryptionState struct { SseKms []SseKmsState `json:"sse_kms"` SseS3 []SseS3State `json:"sse_s3"` }
type Filter ¶
type Filter struct { // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,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
type FilterState ¶
type FilterState struct {
Prefix string `json:"prefix"`
}
type Schedule ¶
type Schedule struct { // Frequency: string, required Frequency terra.StringValue `hcl:"frequency,attr" validate:"required"` }
type ScheduleAttributes ¶
type ScheduleAttributes struct {
// contains filtered or unexported fields
}
func (ScheduleAttributes) Frequency ¶
func (s ScheduleAttributes) Frequency() terra.StringValue
func (ScheduleAttributes) InternalRef ¶
func (s ScheduleAttributes) InternalRef() (terra.Reference, error)
func (ScheduleAttributes) InternalTokens ¶
func (s ScheduleAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScheduleAttributes) InternalWithRef ¶
func (s ScheduleAttributes) InternalWithRef(ref terra.Reference) ScheduleAttributes
type ScheduleState ¶
type ScheduleState struct {
Frequency string `json:"frequency"`
}
type SseKms ¶
type SseKms struct { // KeyId: string, required KeyId terra.StringValue `hcl:"key_id,attr" validate:"required"` }
type SseKmsAttributes ¶
type SseKmsAttributes struct {
// contains filtered or unexported fields
}
func (SseKmsAttributes) InternalRef ¶
func (sk SseKmsAttributes) InternalRef() (terra.Reference, error)
func (SseKmsAttributes) InternalTokens ¶
func (sk SseKmsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SseKmsAttributes) InternalWithRef ¶
func (sk SseKmsAttributes) InternalWithRef(ref terra.Reference) SseKmsAttributes
func (SseKmsAttributes) KeyId ¶
func (sk SseKmsAttributes) KeyId() terra.StringValue
type SseKmsState ¶
type SseKmsState struct {
KeyId string `json:"key_id"`
}
type SseS3Attributes ¶
type SseS3Attributes struct {
// contains filtered or unexported fields
}
func (SseS3Attributes) InternalRef ¶
func (ss SseS3Attributes) InternalRef() (terra.Reference, error)
func (SseS3Attributes) InternalTokens ¶
func (ss SseS3Attributes) InternalTokens() (hclwrite.Tokens, error)
func (SseS3Attributes) InternalWithRef ¶
func (ss SseS3Attributes) InternalWithRef(ref terra.Reference) SseS3Attributes
type SseS3State ¶
type SseS3State struct{}
Click to show internal directories.
Click to hide internal directories.