s3bucketreplicationconfiguration

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 AccessControlTranslation

type AccessControlTranslation struct {
	// Owner: string, required
	Owner terra.StringValue `hcl:"owner,attr" validate:"required"`
}

type AccessControlTranslationAttributes

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

func (AccessControlTranslationAttributes) InternalRef

func (AccessControlTranslationAttributes) InternalTokens

func (act AccessControlTranslationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessControlTranslationAttributes) InternalWithRef

func (AccessControlTranslationAttributes) Owner

type AccessControlTranslationState

type AccessControlTranslationState struct {
	Owner string `json:"owner"`
}

type And

type And struct {
	// 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) Prefix

func (a AndAttributes) Prefix() terra.StringValue

func (AndAttributes) Tags

type AndState

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

type DeleteMarkerReplication

type DeleteMarkerReplication struct {
	// Status: string, required
	Status terra.StringValue `hcl:"status,attr" validate:"required"`
}

type DeleteMarkerReplicationAttributes

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

func (DeleteMarkerReplicationAttributes) InternalRef

func (DeleteMarkerReplicationAttributes) InternalTokens

func (dmr DeleteMarkerReplicationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DeleteMarkerReplicationAttributes) InternalWithRef

func (DeleteMarkerReplicationAttributes) Status

type DeleteMarkerReplicationState

type DeleteMarkerReplicationState struct {
	Status string `json:"status"`
}

type Destination

type Destination struct {
	// Account: string, optional
	Account terra.StringValue `hcl:"account,attr"`
	// Bucket: string, required
	Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"`
	// StorageClass: string, optional
	StorageClass terra.StringValue `hcl:"storage_class,attr"`
	// AccessControlTranslation: optional
	AccessControlTranslation *AccessControlTranslation `hcl:"access_control_translation,block"`
	// EncryptionConfiguration: optional
	EncryptionConfiguration *EncryptionConfiguration `hcl:"encryption_configuration,block"`
	// Metrics: optional
	Metrics *Metrics `hcl:"metrics,block"`
	// ReplicationTime: optional
	ReplicationTime *ReplicationTime `hcl:"replication_time,block"`
}

type DestinationAttributes

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

func (DestinationAttributes) AccessControlTranslation

func (DestinationAttributes) Account

func (DestinationAttributes) Bucket

func (DestinationAttributes) EncryptionConfiguration

func (DestinationAttributes) InternalRef

func (d DestinationAttributes) InternalRef() (terra.Reference, error)

func (DestinationAttributes) InternalTokens

func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DestinationAttributes) InternalWithRef

func (DestinationAttributes) Metrics

func (DestinationAttributes) ReplicationTime

func (DestinationAttributes) StorageClass

func (d DestinationAttributes) StorageClass() terra.StringValue

type DestinationState

type DestinationState struct {
	Account                  string                          `json:"account"`
	Bucket                   string                          `json:"bucket"`
	StorageClass             string                          `json:"storage_class"`
	AccessControlTranslation []AccessControlTranslationState `json:"access_control_translation"`
	EncryptionConfiguration  []EncryptionConfigurationState  `json:"encryption_configuration"`
	Metrics                  []MetricsState                  `json:"metrics"`
	ReplicationTime          []ReplicationTimeState          `json:"replication_time"`
}

type EncryptionConfiguration

type EncryptionConfiguration struct {
	// ReplicaKmsKeyId: string, required
	ReplicaKmsKeyId terra.StringValue `hcl:"replica_kms_key_id,attr" validate:"required"`
}

type EncryptionConfigurationAttributes

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

func (EncryptionConfigurationAttributes) InternalRef

func (EncryptionConfigurationAttributes) InternalTokens

func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionConfigurationAttributes) InternalWithRef

func (EncryptionConfigurationAttributes) ReplicaKmsKeyId

type EncryptionConfigurationState

type EncryptionConfigurationState struct {
	ReplicaKmsKeyId string `json:"replica_kms_key_id"`
}

type EventThreshold

type EventThreshold struct {
	// Minutes: number, required
	Minutes terra.NumberValue `hcl:"minutes,attr" validate:"required"`
}

type EventThresholdAttributes

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

func (EventThresholdAttributes) InternalRef

func (et EventThresholdAttributes) InternalRef() (terra.Reference, error)

func (EventThresholdAttributes) InternalTokens

func (et EventThresholdAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventThresholdAttributes) InternalWithRef

func (EventThresholdAttributes) Minutes

type EventThresholdState

type EventThresholdState struct {
	Minutes float64 `json:"minutes"`
}

type ExistingObjectReplication

type ExistingObjectReplication struct {
	// Status: string, required
	Status terra.StringValue `hcl:"status,attr" validate:"required"`
}

type ExistingObjectReplicationAttributes

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

func (ExistingObjectReplicationAttributes) InternalRef

func (ExistingObjectReplicationAttributes) InternalTokens

func (eor ExistingObjectReplicationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ExistingObjectReplicationAttributes) InternalWithRef

func (ExistingObjectReplicationAttributes) Status

type ExistingObjectReplicationState

type ExistingObjectReplicationState struct {
	Status string `json:"status"`
}

type Filter

type Filter struct {
	// 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 (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) Tag

type FilterState

type FilterState struct {
	Prefix string     `json:"prefix"`
	And    []AndState `json:"and"`
	Tag    []TagState `json:"tag"`
}

type Metrics

type Metrics struct {
	// Status: string, required
	Status terra.StringValue `hcl:"status,attr" validate:"required"`
	// EventThreshold: optional
	EventThreshold *EventThreshold `hcl:"event_threshold,block"`
}

type MetricsAttributes

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

func (MetricsAttributes) EventThreshold

func (MetricsAttributes) InternalRef

func (m MetricsAttributes) InternalRef() (terra.Reference, error)

func (MetricsAttributes) InternalTokens

func (m MetricsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetricsAttributes) InternalWithRef

func (m MetricsAttributes) InternalWithRef(ref terra.Reference) MetricsAttributes

func (MetricsAttributes) Status

func (m MetricsAttributes) Status() terra.StringValue

type MetricsState

type MetricsState struct {
	Status         string                `json:"status"`
	EventThreshold []EventThresholdState `json:"event_threshold"`
}

type ReplicaModifications

type ReplicaModifications struct {
	// Status: string, required
	Status terra.StringValue `hcl:"status,attr" validate:"required"`
}

type ReplicaModificationsAttributes

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

func (ReplicaModificationsAttributes) InternalRef

func (ReplicaModificationsAttributes) InternalTokens

func (rm ReplicaModificationsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ReplicaModificationsAttributes) InternalWithRef

func (ReplicaModificationsAttributes) Status

type ReplicaModificationsState

type ReplicaModificationsState struct {
	Status string `json:"status"`
}

type ReplicationTime

type ReplicationTime struct {
	// Status: string, required
	Status terra.StringValue `hcl:"status,attr" validate:"required"`
	// Time: required
	Time *Time `hcl:"time,block" validate:"required"`
}

type ReplicationTimeAttributes

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

func (ReplicationTimeAttributes) InternalRef

func (rt ReplicationTimeAttributes) InternalRef() (terra.Reference, error)

func (ReplicationTimeAttributes) InternalTokens

func (rt ReplicationTimeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ReplicationTimeAttributes) InternalWithRef

func (ReplicationTimeAttributes) Status

func (ReplicationTimeAttributes) Time

type ReplicationTimeState

type ReplicationTimeState struct {
	Status string      `json:"status"`
	Time   []TimeState `json:"time"`
}

type Rule

type Rule struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
	// Priority: number, optional
	Priority terra.NumberValue `hcl:"priority,attr"`
	// Status: string, required
	Status terra.StringValue `hcl:"status,attr" validate:"required"`
	// DeleteMarkerReplication: optional
	DeleteMarkerReplication *DeleteMarkerReplication `hcl:"delete_marker_replication,block"`
	// Destination: required
	Destination *Destination `hcl:"destination,block" validate:"required"`
	// ExistingObjectReplication: optional
	ExistingObjectReplication *ExistingObjectReplication `hcl:"existing_object_replication,block"`
	// Filter: optional
	Filter *Filter `hcl:"filter,block"`
	// SourceSelectionCriteria: optional
	SourceSelectionCriteria *SourceSelectionCriteria `hcl:"source_selection_criteria,block"`
}

type RuleAttributes

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

func (RuleAttributes) DeleteMarkerReplication

func (r RuleAttributes) DeleteMarkerReplication() terra.ListValue[DeleteMarkerReplicationAttributes]

func (RuleAttributes) Destination

func (RuleAttributes) ExistingObjectReplication

func (r RuleAttributes) ExistingObjectReplication() terra.ListValue[ExistingObjectReplicationAttributes]

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) Prefix

func (r RuleAttributes) Prefix() terra.StringValue

func (RuleAttributes) Priority

func (r RuleAttributes) Priority() terra.NumberValue

func (RuleAttributes) SourceSelectionCriteria

func (r RuleAttributes) SourceSelectionCriteria() terra.ListValue[SourceSelectionCriteriaAttributes]

func (RuleAttributes) Status

func (r RuleAttributes) Status() terra.StringValue

type RuleState

type RuleState struct {
	Id                        string                           `json:"id"`
	Prefix                    string                           `json:"prefix"`
	Priority                  float64                          `json:"priority"`
	Status                    string                           `json:"status"`
	DeleteMarkerReplication   []DeleteMarkerReplicationState   `json:"delete_marker_replication"`
	Destination               []DestinationState               `json:"destination"`
	ExistingObjectReplication []ExistingObjectReplicationState `json:"existing_object_replication"`
	Filter                    []FilterState                    `json:"filter"`
	SourceSelectionCriteria   []SourceSelectionCriteriaState   `json:"source_selection_criteria"`
}

type SourceSelectionCriteria

type SourceSelectionCriteria struct {
	// ReplicaModifications: optional
	ReplicaModifications *ReplicaModifications `hcl:"replica_modifications,block"`
	// SseKmsEncryptedObjects: optional
	SseKmsEncryptedObjects *SseKmsEncryptedObjects `hcl:"sse_kms_encrypted_objects,block"`
}

type SourceSelectionCriteriaAttributes

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

func (SourceSelectionCriteriaAttributes) InternalRef

func (SourceSelectionCriteriaAttributes) InternalTokens

func (ssc SourceSelectionCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceSelectionCriteriaAttributes) InternalWithRef

func (SourceSelectionCriteriaAttributes) ReplicaModifications

func (SourceSelectionCriteriaAttributes) SseKmsEncryptedObjects

type SourceSelectionCriteriaState

type SourceSelectionCriteriaState struct {
	ReplicaModifications   []ReplicaModificationsState   `json:"replica_modifications"`
	SseKmsEncryptedObjects []SseKmsEncryptedObjectsState `json:"sse_kms_encrypted_objects"`
}

type SseKmsEncryptedObjects

type SseKmsEncryptedObjects struct {
	// Status: string, required
	Status terra.StringValue `hcl:"status,attr" validate:"required"`
}

type SseKmsEncryptedObjectsAttributes

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

func (SseKmsEncryptedObjectsAttributes) InternalRef

func (skeo SseKmsEncryptedObjectsAttributes) InternalRef() (terra.Reference, error)

func (SseKmsEncryptedObjectsAttributes) InternalTokens

func (skeo SseKmsEncryptedObjectsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SseKmsEncryptedObjectsAttributes) InternalWithRef

func (SseKmsEncryptedObjectsAttributes) Status

type SseKmsEncryptedObjectsState

type SseKmsEncryptedObjectsState struct {
	Status string `json:"status"`
}

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 (TagAttributes) Value

func (t TagAttributes) Value() terra.StringValue

type TagState

type TagState struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type Time

type Time struct {
	// Minutes: number, required
	Minutes terra.NumberValue `hcl:"minutes,attr" validate:"required"`
}

type TimeAttributes

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

func (TimeAttributes) InternalRef

func (t TimeAttributes) InternalRef() (terra.Reference, error)

func (TimeAttributes) InternalTokens

func (t TimeAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeAttributes) InternalWithRef

func (t TimeAttributes) InternalWithRef(ref terra.Reference) TimeAttributes

func (TimeAttributes) Minutes

func (t TimeAttributes) Minutes() terra.NumberValue

type TimeState

type TimeState struct {
	Minutes float64 `json:"minutes"`
}

Jump to

Keyboard shortcuts

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