Documentation ¶
Index ¶
- type Args
- type Destination
- type DestinationAttributes
- func (d DestinationAttributes) Bucket() terra.ListValue[DestinationBucketAttributes]
- func (d DestinationAttributes) InternalRef() (terra.Reference, error)
- func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DestinationAttributes) InternalWithRef(ref terra.Reference) DestinationAttributes
- type DestinationBucket
- type DestinationBucketAttributes
- func (b DestinationBucketAttributes) AccountId() terra.StringValue
- func (b DestinationBucketAttributes) BucketArn() terra.StringValue
- func (b DestinationBucketAttributes) Encryption() terra.ListValue[DestinationBucketEncryptionAttributes]
- func (b DestinationBucketAttributes) Format() terra.StringValue
- func (b DestinationBucketAttributes) InternalRef() (terra.Reference, error)
- func (b DestinationBucketAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (b DestinationBucketAttributes) InternalWithRef(ref terra.Reference) DestinationBucketAttributes
- func (b DestinationBucketAttributes) Prefix() terra.StringValue
- type DestinationBucketEncryption
- type DestinationBucketEncryptionAttributes
- func (e DestinationBucketEncryptionAttributes) InternalRef() (terra.Reference, error)
- func (e DestinationBucketEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e DestinationBucketEncryptionAttributes) InternalWithRef(ref terra.Reference) DestinationBucketEncryptionAttributes
- func (e DestinationBucketEncryptionAttributes) SseKms() terra.ListValue[DestinationBucketEncryptionSseKmsAttributes]
- func (e DestinationBucketEncryptionAttributes) SseS3() terra.ListValue[DestinationBucketEncryptionSseS3Attributes]
- type DestinationBucketEncryptionSseKms
- type DestinationBucketEncryptionSseKmsAttributes
- func (sk DestinationBucketEncryptionSseKmsAttributes) InternalRef() (terra.Reference, error)
- func (sk DestinationBucketEncryptionSseKmsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sk DestinationBucketEncryptionSseKmsAttributes) InternalWithRef(ref terra.Reference) DestinationBucketEncryptionSseKmsAttributes
- func (sk DestinationBucketEncryptionSseKmsAttributes) KeyId() terra.StringValue
- type DestinationBucketEncryptionSseKmsState
- type DestinationBucketEncryptionSseS3
- type DestinationBucketEncryptionSseS3Attributes
- func (ss DestinationBucketEncryptionSseS3Attributes) InternalRef() (terra.Reference, error)
- func (ss DestinationBucketEncryptionSseS3Attributes) InternalTokens() (hclwrite.Tokens, error)
- func (ss DestinationBucketEncryptionSseS3Attributes) InternalWithRef(ref terra.Reference) DestinationBucketEncryptionSseS3Attributes
- type DestinationBucketEncryptionSseS3State
- type DestinationBucketEncryptionState
- type DestinationBucketState
- type DestinationState
- type Filter
- type FilterAttributes
- type FilterState
- type Resource
- func (asbi *Resource) Attributes() awsS3BucketInventoryAttributes
- func (asbi *Resource) Configuration() interface{}
- func (asbi *Resource) DependOn() terra.Reference
- func (asbi *Resource) Dependencies() terra.Dependencies
- func (asbi *Resource) ImportState(state io.Reader) error
- func (asbi *Resource) LifecycleManagement() *terra.Lifecycle
- func (asbi *Resource) LocalName() string
- func (asbi *Resource) State() (*awsS3BucketInventoryState, bool)
- func (asbi *Resource) StateMust() *awsS3BucketInventoryState
- func (asbi *Resource) Type() string
- type Schedule
- type ScheduleAttributes
- type ScheduleState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // IncludedObjectVersions: string, required IncludedObjectVersions terra.StringValue `hcl:"included_object_versions,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // OptionalFields: set of string, optional OptionalFields terra.SetValue[terra.StringValue] `hcl:"optional_fields,attr"` // Destination: required Destination *Destination `hcl:"destination,block" validate:"required"` // Filter: optional Filter *Filter `hcl:"filter,block"` // Schedule: required Schedule *Schedule `hcl:"schedule,block" validate:"required"` }
Args contains the configurations for aws_s3_bucket_inventory.
type Destination ¶
type Destination struct { // DestinationBucket: required Bucket *DestinationBucket `hcl:"bucket,block" validate:"required"` }
type DestinationAttributes ¶
type DestinationAttributes struct {
// contains filtered or unexported fields
}
func (DestinationAttributes) Bucket ¶
func (d DestinationAttributes) Bucket() terra.ListValue[DestinationBucketAttributes]
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 DestinationBucket ¶
type DestinationBucket 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"` // DestinationBucketEncryption: optional Encryption *DestinationBucketEncryption `hcl:"encryption,block"` }
type DestinationBucketAttributes ¶
type DestinationBucketAttributes struct {
// contains filtered or unexported fields
}
func (DestinationBucketAttributes) AccountId ¶
func (b DestinationBucketAttributes) AccountId() terra.StringValue
func (DestinationBucketAttributes) BucketArn ¶
func (b DestinationBucketAttributes) BucketArn() terra.StringValue
func (DestinationBucketAttributes) Encryption ¶
func (b DestinationBucketAttributes) Encryption() terra.ListValue[DestinationBucketEncryptionAttributes]
func (DestinationBucketAttributes) Format ¶
func (b DestinationBucketAttributes) Format() terra.StringValue
func (DestinationBucketAttributes) InternalRef ¶
func (b DestinationBucketAttributes) InternalRef() (terra.Reference, error)
func (DestinationBucketAttributes) InternalTokens ¶
func (b DestinationBucketAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationBucketAttributes) InternalWithRef ¶
func (b DestinationBucketAttributes) InternalWithRef(ref terra.Reference) DestinationBucketAttributes
func (DestinationBucketAttributes) Prefix ¶
func (b DestinationBucketAttributes) Prefix() terra.StringValue
type DestinationBucketEncryption ¶
type DestinationBucketEncryption struct { // DestinationBucketEncryptionSseKms: optional SseKms *DestinationBucketEncryptionSseKms `hcl:"sse_kms,block"` // DestinationBucketEncryptionSseS3: optional SseS3 *DestinationBucketEncryptionSseS3 `hcl:"sse_s3,block"` }
type DestinationBucketEncryptionAttributes ¶
type DestinationBucketEncryptionAttributes struct {
// contains filtered or unexported fields
}
func (DestinationBucketEncryptionAttributes) InternalRef ¶
func (e DestinationBucketEncryptionAttributes) InternalRef() (terra.Reference, error)
func (DestinationBucketEncryptionAttributes) InternalTokens ¶
func (e DestinationBucketEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationBucketEncryptionAttributes) InternalWithRef ¶
func (e DestinationBucketEncryptionAttributes) InternalWithRef(ref terra.Reference) DestinationBucketEncryptionAttributes
type DestinationBucketEncryptionSseKms ¶
type DestinationBucketEncryptionSseKms struct { // KeyId: string, required KeyId terra.StringValue `hcl:"key_id,attr" validate:"required"` }
type DestinationBucketEncryptionSseKmsAttributes ¶
type DestinationBucketEncryptionSseKmsAttributes struct {
// contains filtered or unexported fields
}
func (DestinationBucketEncryptionSseKmsAttributes) InternalRef ¶
func (sk DestinationBucketEncryptionSseKmsAttributes) InternalRef() (terra.Reference, error)
func (DestinationBucketEncryptionSseKmsAttributes) InternalTokens ¶
func (sk DestinationBucketEncryptionSseKmsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationBucketEncryptionSseKmsAttributes) InternalWithRef ¶
func (sk DestinationBucketEncryptionSseKmsAttributes) InternalWithRef(ref terra.Reference) DestinationBucketEncryptionSseKmsAttributes
func (DestinationBucketEncryptionSseKmsAttributes) KeyId ¶
func (sk DestinationBucketEncryptionSseKmsAttributes) KeyId() terra.StringValue
type DestinationBucketEncryptionSseKmsState ¶
type DestinationBucketEncryptionSseKmsState struct {
KeyId string `json:"key_id"`
}
type DestinationBucketEncryptionSseS3 ¶
type DestinationBucketEncryptionSseS3 struct{}
type DestinationBucketEncryptionSseS3Attributes ¶
type DestinationBucketEncryptionSseS3Attributes struct {
// contains filtered or unexported fields
}
func (DestinationBucketEncryptionSseS3Attributes) InternalRef ¶
func (ss DestinationBucketEncryptionSseS3Attributes) InternalRef() (terra.Reference, error)
func (DestinationBucketEncryptionSseS3Attributes) InternalTokens ¶
func (ss DestinationBucketEncryptionSseS3Attributes) InternalTokens() (hclwrite.Tokens, error)
func (DestinationBucketEncryptionSseS3Attributes) InternalWithRef ¶
func (ss DestinationBucketEncryptionSseS3Attributes) InternalWithRef(ref terra.Reference) DestinationBucketEncryptionSseS3Attributes
type DestinationBucketEncryptionSseS3State ¶
type DestinationBucketEncryptionSseS3State struct{}
type DestinationBucketEncryptionState ¶
type DestinationBucketEncryptionState struct { SseKms []DestinationBucketEncryptionSseKmsState `json:"sse_kms"` SseS3 []DestinationBucketEncryptionSseS3State `json:"sse_s3"` }
type DestinationBucketState ¶
type DestinationBucketState struct { AccountId string `json:"account_id"` BucketArn string `json:"bucket_arn"` Format string `json:"format"` Prefix string `json:"prefix"` Encryption []DestinationBucketEncryptionState `json:"encryption"` }
type DestinationState ¶
type DestinationState struct {
Bucket []DestinationBucketState `json:"bucket"`
}
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 Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_s3_bucket_inventory.
func (*Resource) Attributes ¶
func (asbi *Resource) Attributes() awsS3BucketInventoryAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asbi *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asbi *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
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"`
}
Click to show internal directories.
Click to hide internal directories.