Documentation ¶
Index ¶
- type Args
- type Resource
- func (asbrc *Resource) Attributes() awsS3BucketReplicationConfigurationAttributes
- func (asbrc *Resource) Configuration() interface{}
- func (asbrc *Resource) DependOn() terra.Reference
- func (asbrc *Resource) Dependencies() terra.Dependencies
- func (asbrc *Resource) ImportState(state io.Reader) error
- func (asbrc *Resource) LifecycleManagement() *terra.Lifecycle
- func (asbrc *Resource) LocalName() string
- func (asbrc *Resource) State() (*awsS3BucketReplicationConfigurationState, bool)
- func (asbrc *Resource) StateMust() *awsS3BucketReplicationConfigurationState
- func (asbrc *Resource) Type() string
- type Rule
- type RuleAttributes
- func (r RuleAttributes) DeleteMarkerReplication() terra.ListValue[RuleDeleteMarkerReplicationAttributes]
- func (r RuleAttributes) Destination() terra.ListValue[RuleDestinationAttributes]
- func (r RuleAttributes) ExistingObjectReplication() terra.ListValue[RuleExistingObjectReplicationAttributes]
- func (r RuleAttributes) Filter() terra.ListValue[RuleFilterAttributes]
- 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) Prefix() terra.StringValue
- func (r RuleAttributes) Priority() terra.NumberValue
- func (r RuleAttributes) SourceSelectionCriteria() terra.ListValue[RuleSourceSelectionCriteriaAttributes]
- func (r RuleAttributes) Status() terra.StringValue
- type RuleDeleteMarkerReplication
- type RuleDeleteMarkerReplicationAttributes
- func (dmr RuleDeleteMarkerReplicationAttributes) InternalRef() (terra.Reference, error)
- func (dmr RuleDeleteMarkerReplicationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dmr RuleDeleteMarkerReplicationAttributes) InternalWithRef(ref terra.Reference) RuleDeleteMarkerReplicationAttributes
- func (dmr RuleDeleteMarkerReplicationAttributes) Status() terra.StringValue
- type RuleDeleteMarkerReplicationState
- type RuleDestination
- type RuleDestinationAccessControlTranslation
- type RuleDestinationAccessControlTranslationAttributes
- func (act RuleDestinationAccessControlTranslationAttributes) InternalRef() (terra.Reference, error)
- func (act RuleDestinationAccessControlTranslationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (act RuleDestinationAccessControlTranslationAttributes) InternalWithRef(ref terra.Reference) RuleDestinationAccessControlTranslationAttributes
- func (act RuleDestinationAccessControlTranslationAttributes) Owner() terra.StringValue
- type RuleDestinationAccessControlTranslationState
- type RuleDestinationAttributes
- func (d RuleDestinationAttributes) AccessControlTranslation() terra.ListValue[RuleDestinationAccessControlTranslationAttributes]
- func (d RuleDestinationAttributes) Account() terra.StringValue
- func (d RuleDestinationAttributes) Bucket() terra.StringValue
- func (d RuleDestinationAttributes) EncryptionConfiguration() terra.ListValue[RuleDestinationEncryptionConfigurationAttributes]
- func (d RuleDestinationAttributes) InternalRef() (terra.Reference, error)
- func (d RuleDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d RuleDestinationAttributes) InternalWithRef(ref terra.Reference) RuleDestinationAttributes
- func (d RuleDestinationAttributes) Metrics() terra.ListValue[RuleDestinationMetricsAttributes]
- func (d RuleDestinationAttributes) ReplicationTime() terra.ListValue[RuleDestinationReplicationTimeAttributes]
- func (d RuleDestinationAttributes) StorageClass() terra.StringValue
- type RuleDestinationEncryptionConfiguration
- type RuleDestinationEncryptionConfigurationAttributes
- func (ec RuleDestinationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (ec RuleDestinationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ec RuleDestinationEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) RuleDestinationEncryptionConfigurationAttributes
- func (ec RuleDestinationEncryptionConfigurationAttributes) ReplicaKmsKeyId() terra.StringValue
- type RuleDestinationEncryptionConfigurationState
- type RuleDestinationMetrics
- type RuleDestinationMetricsAttributes
- func (m RuleDestinationMetricsAttributes) EventThreshold() terra.ListValue[RuleDestinationMetricsEventThresholdAttributes]
- func (m RuleDestinationMetricsAttributes) InternalRef() (terra.Reference, error)
- func (m RuleDestinationMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (m RuleDestinationMetricsAttributes) InternalWithRef(ref terra.Reference) RuleDestinationMetricsAttributes
- func (m RuleDestinationMetricsAttributes) Status() terra.StringValue
- type RuleDestinationMetricsEventThreshold
- type RuleDestinationMetricsEventThresholdAttributes
- func (et RuleDestinationMetricsEventThresholdAttributes) InternalRef() (terra.Reference, error)
- func (et RuleDestinationMetricsEventThresholdAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (et RuleDestinationMetricsEventThresholdAttributes) InternalWithRef(ref terra.Reference) RuleDestinationMetricsEventThresholdAttributes
- func (et RuleDestinationMetricsEventThresholdAttributes) Minutes() terra.NumberValue
- type RuleDestinationMetricsEventThresholdState
- type RuleDestinationMetricsState
- type RuleDestinationReplicationTime
- type RuleDestinationReplicationTimeAttributes
- func (rt RuleDestinationReplicationTimeAttributes) InternalRef() (terra.Reference, error)
- func (rt RuleDestinationReplicationTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rt RuleDestinationReplicationTimeAttributes) InternalWithRef(ref terra.Reference) RuleDestinationReplicationTimeAttributes
- func (rt RuleDestinationReplicationTimeAttributes) Status() terra.StringValue
- func (rt RuleDestinationReplicationTimeAttributes) Time() terra.ListValue[RuleDestinationReplicationTimeTimeAttributes]
- type RuleDestinationReplicationTimeState
- type RuleDestinationReplicationTimeTime
- type RuleDestinationReplicationTimeTimeAttributes
- func (t RuleDestinationReplicationTimeTimeAttributes) InternalRef() (terra.Reference, error)
- func (t RuleDestinationReplicationTimeTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t RuleDestinationReplicationTimeTimeAttributes) InternalWithRef(ref terra.Reference) RuleDestinationReplicationTimeTimeAttributes
- func (t RuleDestinationReplicationTimeTimeAttributes) Minutes() terra.NumberValue
- type RuleDestinationReplicationTimeTimeState
- type RuleDestinationState
- type RuleExistingObjectReplication
- type RuleExistingObjectReplicationAttributes
- func (eor RuleExistingObjectReplicationAttributes) InternalRef() (terra.Reference, error)
- func (eor RuleExistingObjectReplicationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (eor RuleExistingObjectReplicationAttributes) InternalWithRef(ref terra.Reference) RuleExistingObjectReplicationAttributes
- func (eor RuleExistingObjectReplicationAttributes) Status() terra.StringValue
- type RuleExistingObjectReplicationState
- type RuleFilter
- type RuleFilterAnd
- type RuleFilterAndAttributes
- func (a RuleFilterAndAttributes) InternalRef() (terra.Reference, error)
- func (a RuleFilterAndAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a RuleFilterAndAttributes) InternalWithRef(ref terra.Reference) RuleFilterAndAttributes
- func (a RuleFilterAndAttributes) Prefix() terra.StringValue
- func (a RuleFilterAndAttributes) Tags() terra.MapValue[terra.StringValue]
- type RuleFilterAndState
- type RuleFilterAttributes
- func (f RuleFilterAttributes) And() terra.ListValue[RuleFilterAndAttributes]
- func (f RuleFilterAttributes) InternalRef() (terra.Reference, error)
- func (f RuleFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (f RuleFilterAttributes) InternalWithRef(ref terra.Reference) RuleFilterAttributes
- func (f RuleFilterAttributes) Prefix() terra.StringValue
- func (f RuleFilterAttributes) Tag() terra.ListValue[RuleFilterTagAttributes]
- type RuleFilterState
- type RuleFilterTag
- type RuleFilterTagAttributes
- func (t RuleFilterTagAttributes) InternalRef() (terra.Reference, error)
- func (t RuleFilterTagAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (t RuleFilterTagAttributes) InternalWithRef(ref terra.Reference) RuleFilterTagAttributes
- func (t RuleFilterTagAttributes) Key() terra.StringValue
- func (t RuleFilterTagAttributes) Value() terra.StringValue
- type RuleFilterTagState
- type RuleSourceSelectionCriteria
- type RuleSourceSelectionCriteriaAttributes
- func (ssc RuleSourceSelectionCriteriaAttributes) InternalRef() (terra.Reference, error)
- func (ssc RuleSourceSelectionCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ssc RuleSourceSelectionCriteriaAttributes) InternalWithRef(ref terra.Reference) RuleSourceSelectionCriteriaAttributes
- func (ssc RuleSourceSelectionCriteriaAttributes) ReplicaModifications() terra.ListValue[RuleSourceSelectionCriteriaReplicaModificationsAttributes]
- func (ssc RuleSourceSelectionCriteriaAttributes) SseKmsEncryptedObjects() terra.ListValue[RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes]
- type RuleSourceSelectionCriteriaReplicaModifications
- type RuleSourceSelectionCriteriaReplicaModificationsAttributes
- func (rm RuleSourceSelectionCriteriaReplicaModificationsAttributes) InternalRef() (terra.Reference, error)
- func (rm RuleSourceSelectionCriteriaReplicaModificationsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (rm RuleSourceSelectionCriteriaReplicaModificationsAttributes) InternalWithRef(ref terra.Reference) RuleSourceSelectionCriteriaReplicaModificationsAttributes
- func (rm RuleSourceSelectionCriteriaReplicaModificationsAttributes) Status() terra.StringValue
- type RuleSourceSelectionCriteriaReplicaModificationsState
- type RuleSourceSelectionCriteriaSseKmsEncryptedObjects
- type RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes
- func (skeo RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalRef() (terra.Reference, error)
- func (skeo RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (skeo RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalWithRef(ref terra.Reference) RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes
- func (skeo RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) Status() terra.StringValue
- type RuleSourceSelectionCriteriaSseKmsEncryptedObjectsState
- type RuleSourceSelectionCriteriaState
- type RuleState
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"` // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // Role: string, required Role terra.StringValue `hcl:"role,attr" validate:"required"` // Token: string, optional Token terra.StringValue `hcl:"token,attr"` // Rule: min=1,max=1000 Rule []Rule `hcl:"rule,block" validate:"min=1,max=1000"` }
Args contains the configurations for aws_s3_bucket_replication_configuration.
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_replication_configuration.
func (*Resource) Attributes ¶
func (asbrc *Resource) Attributes() awsS3BucketReplicationConfigurationAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (asbrc *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (asbrc *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 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"` // RuleDeleteMarkerReplication: optional DeleteMarkerReplication *RuleDeleteMarkerReplication `hcl:"delete_marker_replication,block"` // RuleDestination: required Destination *RuleDestination `hcl:"destination,block" validate:"required"` // RuleExistingObjectReplication: optional ExistingObjectReplication *RuleExistingObjectReplication `hcl:"existing_object_replication,block"` // RuleFilter: optional Filter *RuleFilter `hcl:"filter,block"` // RuleSourceSelectionCriteria: optional SourceSelectionCriteria *RuleSourceSelectionCriteria `hcl:"source_selection_criteria,block"` }
type RuleAttributes ¶
type RuleAttributes struct {
// contains filtered or unexported fields
}
func (RuleAttributes) DeleteMarkerReplication ¶
func (r RuleAttributes) DeleteMarkerReplication() terra.ListValue[RuleDeleteMarkerReplicationAttributes]
func (RuleAttributes) Destination ¶
func (r RuleAttributes) Destination() terra.ListValue[RuleDestinationAttributes]
func (RuleAttributes) ExistingObjectReplication ¶
func (r RuleAttributes) ExistingObjectReplication() terra.ListValue[RuleExistingObjectReplicationAttributes]
func (RuleAttributes) Filter ¶
func (r RuleAttributes) Filter() terra.ListValue[RuleFilterAttributes]
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) 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[RuleSourceSelectionCriteriaAttributes]
func (RuleAttributes) Status ¶
func (r RuleAttributes) Status() terra.StringValue
type RuleDeleteMarkerReplication ¶
type RuleDeleteMarkerReplication struct { // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` }
type RuleDeleteMarkerReplicationAttributes ¶
type RuleDeleteMarkerReplicationAttributes struct {
// contains filtered or unexported fields
}
func (RuleDeleteMarkerReplicationAttributes) InternalRef ¶
func (dmr RuleDeleteMarkerReplicationAttributes) InternalRef() (terra.Reference, error)
func (RuleDeleteMarkerReplicationAttributes) InternalTokens ¶
func (dmr RuleDeleteMarkerReplicationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDeleteMarkerReplicationAttributes) InternalWithRef ¶
func (dmr RuleDeleteMarkerReplicationAttributes) InternalWithRef(ref terra.Reference) RuleDeleteMarkerReplicationAttributes
func (RuleDeleteMarkerReplicationAttributes) Status ¶
func (dmr RuleDeleteMarkerReplicationAttributes) Status() terra.StringValue
type RuleDeleteMarkerReplicationState ¶
type RuleDeleteMarkerReplicationState struct {
Status string `json:"status"`
}
type RuleDestination ¶
type RuleDestination 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"` // RuleDestinationAccessControlTranslation: optional AccessControlTranslation *RuleDestinationAccessControlTranslation `hcl:"access_control_translation,block"` // RuleDestinationEncryptionConfiguration: optional EncryptionConfiguration *RuleDestinationEncryptionConfiguration `hcl:"encryption_configuration,block"` // RuleDestinationMetrics: optional Metrics *RuleDestinationMetrics `hcl:"metrics,block"` // RuleDestinationReplicationTime: optional ReplicationTime *RuleDestinationReplicationTime `hcl:"replication_time,block"` }
type RuleDestinationAccessControlTranslation ¶
type RuleDestinationAccessControlTranslation struct { // Owner: string, required Owner terra.StringValue `hcl:"owner,attr" validate:"required"` }
type RuleDestinationAccessControlTranslationAttributes ¶
type RuleDestinationAccessControlTranslationAttributes struct {
// contains filtered or unexported fields
}
func (RuleDestinationAccessControlTranslationAttributes) InternalRef ¶
func (act RuleDestinationAccessControlTranslationAttributes) InternalRef() (terra.Reference, error)
func (RuleDestinationAccessControlTranslationAttributes) InternalTokens ¶
func (act RuleDestinationAccessControlTranslationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDestinationAccessControlTranslationAttributes) InternalWithRef ¶
func (act RuleDestinationAccessControlTranslationAttributes) InternalWithRef(ref terra.Reference) RuleDestinationAccessControlTranslationAttributes
func (RuleDestinationAccessControlTranslationAttributes) Owner ¶
func (act RuleDestinationAccessControlTranslationAttributes) Owner() terra.StringValue
type RuleDestinationAccessControlTranslationState ¶
type RuleDestinationAccessControlTranslationState struct {
Owner string `json:"owner"`
}
type RuleDestinationAttributes ¶
type RuleDestinationAttributes struct {
// contains filtered or unexported fields
}
func (RuleDestinationAttributes) AccessControlTranslation ¶
func (d RuleDestinationAttributes) AccessControlTranslation() terra.ListValue[RuleDestinationAccessControlTranslationAttributes]
func (RuleDestinationAttributes) Account ¶
func (d RuleDestinationAttributes) Account() terra.StringValue
func (RuleDestinationAttributes) Bucket ¶
func (d RuleDestinationAttributes) Bucket() terra.StringValue
func (RuleDestinationAttributes) EncryptionConfiguration ¶
func (d RuleDestinationAttributes) EncryptionConfiguration() terra.ListValue[RuleDestinationEncryptionConfigurationAttributes]
func (RuleDestinationAttributes) InternalRef ¶
func (d RuleDestinationAttributes) InternalRef() (terra.Reference, error)
func (RuleDestinationAttributes) InternalTokens ¶
func (d RuleDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDestinationAttributes) InternalWithRef ¶
func (d RuleDestinationAttributes) InternalWithRef(ref terra.Reference) RuleDestinationAttributes
func (RuleDestinationAttributes) Metrics ¶
func (d RuleDestinationAttributes) Metrics() terra.ListValue[RuleDestinationMetricsAttributes]
func (RuleDestinationAttributes) ReplicationTime ¶
func (d RuleDestinationAttributes) ReplicationTime() terra.ListValue[RuleDestinationReplicationTimeAttributes]
func (RuleDestinationAttributes) StorageClass ¶
func (d RuleDestinationAttributes) StorageClass() terra.StringValue
type RuleDestinationEncryptionConfiguration ¶
type RuleDestinationEncryptionConfiguration struct { // ReplicaKmsKeyId: string, required ReplicaKmsKeyId terra.StringValue `hcl:"replica_kms_key_id,attr" validate:"required"` }
type RuleDestinationEncryptionConfigurationAttributes ¶
type RuleDestinationEncryptionConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (RuleDestinationEncryptionConfigurationAttributes) InternalRef ¶
func (ec RuleDestinationEncryptionConfigurationAttributes) InternalRef() (terra.Reference, error)
func (RuleDestinationEncryptionConfigurationAttributes) InternalTokens ¶
func (ec RuleDestinationEncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDestinationEncryptionConfigurationAttributes) InternalWithRef ¶
func (ec RuleDestinationEncryptionConfigurationAttributes) InternalWithRef(ref terra.Reference) RuleDestinationEncryptionConfigurationAttributes
func (RuleDestinationEncryptionConfigurationAttributes) ReplicaKmsKeyId ¶
func (ec RuleDestinationEncryptionConfigurationAttributes) ReplicaKmsKeyId() terra.StringValue
type RuleDestinationEncryptionConfigurationState ¶
type RuleDestinationEncryptionConfigurationState struct {
ReplicaKmsKeyId string `json:"replica_kms_key_id"`
}
type RuleDestinationMetrics ¶
type RuleDestinationMetrics struct { // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` // RuleDestinationMetricsEventThreshold: optional EventThreshold *RuleDestinationMetricsEventThreshold `hcl:"event_threshold,block"` }
type RuleDestinationMetricsAttributes ¶
type RuleDestinationMetricsAttributes struct {
// contains filtered or unexported fields
}
func (RuleDestinationMetricsAttributes) EventThreshold ¶
func (m RuleDestinationMetricsAttributes) EventThreshold() terra.ListValue[RuleDestinationMetricsEventThresholdAttributes]
func (RuleDestinationMetricsAttributes) InternalRef ¶
func (m RuleDestinationMetricsAttributes) InternalRef() (terra.Reference, error)
func (RuleDestinationMetricsAttributes) InternalTokens ¶
func (m RuleDestinationMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDestinationMetricsAttributes) InternalWithRef ¶
func (m RuleDestinationMetricsAttributes) InternalWithRef(ref terra.Reference) RuleDestinationMetricsAttributes
func (RuleDestinationMetricsAttributes) Status ¶
func (m RuleDestinationMetricsAttributes) Status() terra.StringValue
type RuleDestinationMetricsEventThreshold ¶
type RuleDestinationMetricsEventThreshold struct { // Minutes: number, required Minutes terra.NumberValue `hcl:"minutes,attr" validate:"required"` }
type RuleDestinationMetricsEventThresholdAttributes ¶
type RuleDestinationMetricsEventThresholdAttributes struct {
// contains filtered or unexported fields
}
func (RuleDestinationMetricsEventThresholdAttributes) InternalRef ¶
func (et RuleDestinationMetricsEventThresholdAttributes) InternalRef() (terra.Reference, error)
func (RuleDestinationMetricsEventThresholdAttributes) InternalTokens ¶
func (et RuleDestinationMetricsEventThresholdAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDestinationMetricsEventThresholdAttributes) InternalWithRef ¶
func (et RuleDestinationMetricsEventThresholdAttributes) InternalWithRef(ref terra.Reference) RuleDestinationMetricsEventThresholdAttributes
func (RuleDestinationMetricsEventThresholdAttributes) Minutes ¶
func (et RuleDestinationMetricsEventThresholdAttributes) Minutes() terra.NumberValue
type RuleDestinationMetricsEventThresholdState ¶
type RuleDestinationMetricsEventThresholdState struct {
Minutes float64 `json:"minutes"`
}
type RuleDestinationMetricsState ¶
type RuleDestinationMetricsState struct { Status string `json:"status"` EventThreshold []RuleDestinationMetricsEventThresholdState `json:"event_threshold"` }
type RuleDestinationReplicationTime ¶
type RuleDestinationReplicationTime struct { // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` // RuleDestinationReplicationTimeTime: required Time *RuleDestinationReplicationTimeTime `hcl:"time,block" validate:"required"` }
type RuleDestinationReplicationTimeAttributes ¶
type RuleDestinationReplicationTimeAttributes struct {
// contains filtered or unexported fields
}
func (RuleDestinationReplicationTimeAttributes) InternalRef ¶
func (rt RuleDestinationReplicationTimeAttributes) InternalRef() (terra.Reference, error)
func (RuleDestinationReplicationTimeAttributes) InternalTokens ¶
func (rt RuleDestinationReplicationTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDestinationReplicationTimeAttributes) InternalWithRef ¶
func (rt RuleDestinationReplicationTimeAttributes) InternalWithRef(ref terra.Reference) RuleDestinationReplicationTimeAttributes
func (RuleDestinationReplicationTimeAttributes) Status ¶
func (rt RuleDestinationReplicationTimeAttributes) Status() terra.StringValue
type RuleDestinationReplicationTimeState ¶
type RuleDestinationReplicationTimeState struct { Status string `json:"status"` Time []RuleDestinationReplicationTimeTimeState `json:"time"` }
type RuleDestinationReplicationTimeTime ¶
type RuleDestinationReplicationTimeTime struct { // Minutes: number, required Minutes terra.NumberValue `hcl:"minutes,attr" validate:"required"` }
type RuleDestinationReplicationTimeTimeAttributes ¶
type RuleDestinationReplicationTimeTimeAttributes struct {
// contains filtered or unexported fields
}
func (RuleDestinationReplicationTimeTimeAttributes) InternalRef ¶
func (t RuleDestinationReplicationTimeTimeAttributes) InternalRef() (terra.Reference, error)
func (RuleDestinationReplicationTimeTimeAttributes) InternalTokens ¶
func (t RuleDestinationReplicationTimeTimeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleDestinationReplicationTimeTimeAttributes) InternalWithRef ¶
func (t RuleDestinationReplicationTimeTimeAttributes) InternalWithRef(ref terra.Reference) RuleDestinationReplicationTimeTimeAttributes
func (RuleDestinationReplicationTimeTimeAttributes) Minutes ¶
func (t RuleDestinationReplicationTimeTimeAttributes) Minutes() terra.NumberValue
type RuleDestinationReplicationTimeTimeState ¶
type RuleDestinationReplicationTimeTimeState struct {
Minutes float64 `json:"minutes"`
}
type RuleDestinationState ¶
type RuleDestinationState struct { Account string `json:"account"` Bucket string `json:"bucket"` StorageClass string `json:"storage_class"` AccessControlTranslation []RuleDestinationAccessControlTranslationState `json:"access_control_translation"` EncryptionConfiguration []RuleDestinationEncryptionConfigurationState `json:"encryption_configuration"` Metrics []RuleDestinationMetricsState `json:"metrics"` ReplicationTime []RuleDestinationReplicationTimeState `json:"replication_time"` }
type RuleExistingObjectReplication ¶
type RuleExistingObjectReplication struct { // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` }
type RuleExistingObjectReplicationAttributes ¶
type RuleExistingObjectReplicationAttributes struct {
// contains filtered or unexported fields
}
func (RuleExistingObjectReplicationAttributes) InternalRef ¶
func (eor RuleExistingObjectReplicationAttributes) InternalRef() (terra.Reference, error)
func (RuleExistingObjectReplicationAttributes) InternalTokens ¶
func (eor RuleExistingObjectReplicationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleExistingObjectReplicationAttributes) InternalWithRef ¶
func (eor RuleExistingObjectReplicationAttributes) InternalWithRef(ref terra.Reference) RuleExistingObjectReplicationAttributes
func (RuleExistingObjectReplicationAttributes) Status ¶
func (eor RuleExistingObjectReplicationAttributes) Status() terra.StringValue
type RuleExistingObjectReplicationState ¶
type RuleExistingObjectReplicationState struct {
Status string `json:"status"`
}
type RuleFilter ¶
type RuleFilter struct { // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // RuleFilterAnd: optional And *RuleFilterAnd `hcl:"and,block"` // RuleFilterTag: optional Tag *RuleFilterTag `hcl:"tag,block"` }
type RuleFilterAnd ¶
type RuleFilterAnd struct { // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` }
type RuleFilterAndAttributes ¶
type RuleFilterAndAttributes struct {
// contains filtered or unexported fields
}
func (RuleFilterAndAttributes) InternalRef ¶
func (a RuleFilterAndAttributes) InternalRef() (terra.Reference, error)
func (RuleFilterAndAttributes) InternalTokens ¶
func (a RuleFilterAndAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleFilterAndAttributes) InternalWithRef ¶
func (a RuleFilterAndAttributes) InternalWithRef(ref terra.Reference) RuleFilterAndAttributes
func (RuleFilterAndAttributes) Prefix ¶
func (a RuleFilterAndAttributes) Prefix() terra.StringValue
func (RuleFilterAndAttributes) Tags ¶
func (a RuleFilterAndAttributes) Tags() terra.MapValue[terra.StringValue]
type RuleFilterAndState ¶
type RuleFilterAttributes ¶
type RuleFilterAttributes struct {
// contains filtered or unexported fields
}
func (RuleFilterAttributes) And ¶
func (f RuleFilterAttributes) And() terra.ListValue[RuleFilterAndAttributes]
func (RuleFilterAttributes) InternalRef ¶
func (f RuleFilterAttributes) InternalRef() (terra.Reference, error)
func (RuleFilterAttributes) InternalTokens ¶
func (f RuleFilterAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleFilterAttributes) InternalWithRef ¶
func (f RuleFilterAttributes) InternalWithRef(ref terra.Reference) RuleFilterAttributes
func (RuleFilterAttributes) Prefix ¶
func (f RuleFilterAttributes) Prefix() terra.StringValue
func (RuleFilterAttributes) Tag ¶
func (f RuleFilterAttributes) Tag() terra.ListValue[RuleFilterTagAttributes]
type RuleFilterState ¶
type RuleFilterState struct { Prefix string `json:"prefix"` And []RuleFilterAndState `json:"and"` Tag []RuleFilterTagState `json:"tag"` }
type RuleFilterTag ¶
type RuleFilterTag struct { // Key: string, required Key terra.StringValue `hcl:"key,attr" validate:"required"` // Value: string, required Value terra.StringValue `hcl:"value,attr" validate:"required"` }
type RuleFilterTagAttributes ¶
type RuleFilterTagAttributes struct {
// contains filtered or unexported fields
}
func (RuleFilterTagAttributes) InternalRef ¶
func (t RuleFilterTagAttributes) InternalRef() (terra.Reference, error)
func (RuleFilterTagAttributes) InternalTokens ¶
func (t RuleFilterTagAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleFilterTagAttributes) InternalWithRef ¶
func (t RuleFilterTagAttributes) InternalWithRef(ref terra.Reference) RuleFilterTagAttributes
func (RuleFilterTagAttributes) Key ¶
func (t RuleFilterTagAttributes) Key() terra.StringValue
func (RuleFilterTagAttributes) Value ¶
func (t RuleFilterTagAttributes) Value() terra.StringValue
type RuleFilterTagState ¶
type RuleSourceSelectionCriteria ¶
type RuleSourceSelectionCriteria struct { // RuleSourceSelectionCriteriaReplicaModifications: optional ReplicaModifications *RuleSourceSelectionCriteriaReplicaModifications `hcl:"replica_modifications,block"` // RuleSourceSelectionCriteriaSseKmsEncryptedObjects: optional SseKmsEncryptedObjects *RuleSourceSelectionCriteriaSseKmsEncryptedObjects `hcl:"sse_kms_encrypted_objects,block"` }
type RuleSourceSelectionCriteriaAttributes ¶
type RuleSourceSelectionCriteriaAttributes struct {
// contains filtered or unexported fields
}
func (RuleSourceSelectionCriteriaAttributes) InternalRef ¶
func (ssc RuleSourceSelectionCriteriaAttributes) InternalRef() (terra.Reference, error)
func (RuleSourceSelectionCriteriaAttributes) InternalTokens ¶
func (ssc RuleSourceSelectionCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleSourceSelectionCriteriaAttributes) InternalWithRef ¶
func (ssc RuleSourceSelectionCriteriaAttributes) InternalWithRef(ref terra.Reference) RuleSourceSelectionCriteriaAttributes
func (RuleSourceSelectionCriteriaAttributes) ReplicaModifications ¶
func (ssc RuleSourceSelectionCriteriaAttributes) ReplicaModifications() terra.ListValue[RuleSourceSelectionCriteriaReplicaModificationsAttributes]
func (RuleSourceSelectionCriteriaAttributes) SseKmsEncryptedObjects ¶
func (ssc RuleSourceSelectionCriteriaAttributes) SseKmsEncryptedObjects() terra.ListValue[RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes]
type RuleSourceSelectionCriteriaReplicaModifications ¶
type RuleSourceSelectionCriteriaReplicaModifications struct { // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` }
type RuleSourceSelectionCriteriaReplicaModificationsAttributes ¶
type RuleSourceSelectionCriteriaReplicaModificationsAttributes struct {
// contains filtered or unexported fields
}
func (RuleSourceSelectionCriteriaReplicaModificationsAttributes) InternalRef ¶
func (rm RuleSourceSelectionCriteriaReplicaModificationsAttributes) InternalRef() (terra.Reference, error)
func (RuleSourceSelectionCriteriaReplicaModificationsAttributes) InternalTokens ¶
func (rm RuleSourceSelectionCriteriaReplicaModificationsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleSourceSelectionCriteriaReplicaModificationsAttributes) InternalWithRef ¶
func (rm RuleSourceSelectionCriteriaReplicaModificationsAttributes) InternalWithRef(ref terra.Reference) RuleSourceSelectionCriteriaReplicaModificationsAttributes
func (RuleSourceSelectionCriteriaReplicaModificationsAttributes) Status ¶
func (rm RuleSourceSelectionCriteriaReplicaModificationsAttributes) Status() terra.StringValue
type RuleSourceSelectionCriteriaReplicaModificationsState ¶
type RuleSourceSelectionCriteriaReplicaModificationsState struct {
Status string `json:"status"`
}
type RuleSourceSelectionCriteriaSseKmsEncryptedObjects ¶
type RuleSourceSelectionCriteriaSseKmsEncryptedObjects struct { // Status: string, required Status terra.StringValue `hcl:"status,attr" validate:"required"` }
type RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes ¶
type RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes struct {
// contains filtered or unexported fields
}
func (RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalRef ¶
func (skeo RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalRef() (terra.Reference, error)
func (RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalTokens ¶
func (skeo RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalWithRef ¶
func (skeo RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) InternalWithRef(ref terra.Reference) RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes
func (RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) Status ¶
func (skeo RuleSourceSelectionCriteriaSseKmsEncryptedObjectsAttributes) Status() terra.StringValue
type RuleSourceSelectionCriteriaSseKmsEncryptedObjectsState ¶
type RuleSourceSelectionCriteriaSseKmsEncryptedObjectsState struct {
Status string `json:"status"`
}
type RuleSourceSelectionCriteriaState ¶
type RuleSourceSelectionCriteriaState struct { ReplicaModifications []RuleSourceSelectionCriteriaReplicaModificationsState `json:"replica_modifications"` SseKmsEncryptedObjects []RuleSourceSelectionCriteriaSseKmsEncryptedObjectsState `json:"sse_kms_encrypted_objects"` }
type RuleState ¶
type RuleState struct { Id string `json:"id"` Prefix string `json:"prefix"` Priority float64 `json:"priority"` Status string `json:"status"` DeleteMarkerReplication []RuleDeleteMarkerReplicationState `json:"delete_marker_replication"` Destination []RuleDestinationState `json:"destination"` ExistingObjectReplication []RuleExistingObjectReplicationState `json:"existing_object_replication"` Filter []RuleFilterState `json:"filter"` SourceSelectionCriteria []RuleSourceSelectionCriteriaState `json:"source_selection_criteria"` }
Click to show internal directories.
Click to hide internal directories.