Documentation ¶
Index ¶
- type AccountLevel
- type AccountLevelActivityMetrics
- type AccountLevelActivityMetricsAttributes
- func (am AccountLevelActivityMetricsAttributes) Enabled() terra.BoolValue
- func (am AccountLevelActivityMetricsAttributes) InternalRef() (terra.Reference, error)
- func (am AccountLevelActivityMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (am AccountLevelActivityMetricsAttributes) InternalWithRef(ref terra.Reference) AccountLevelActivityMetricsAttributes
- type AccountLevelActivityMetricsState
- type AccountLevelAdvancedCostOptimizationMetrics
- type AccountLevelAdvancedCostOptimizationMetricsAttributes
- func (acom AccountLevelAdvancedCostOptimizationMetricsAttributes) Enabled() terra.BoolValue
- func (acom AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalRef() (terra.Reference, error)
- func (acom AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acom AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalWithRef(ref terra.Reference) AccountLevelAdvancedCostOptimizationMetricsAttributes
- type AccountLevelAdvancedCostOptimizationMetricsState
- type AccountLevelAdvancedDataProtectionMetrics
- type AccountLevelAdvancedDataProtectionMetricsAttributes
- func (adpm AccountLevelAdvancedDataProtectionMetricsAttributes) Enabled() terra.BoolValue
- func (adpm AccountLevelAdvancedDataProtectionMetricsAttributes) InternalRef() (terra.Reference, error)
- func (adpm AccountLevelAdvancedDataProtectionMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (adpm AccountLevelAdvancedDataProtectionMetricsAttributes) InternalWithRef(ref terra.Reference) AccountLevelAdvancedDataProtectionMetricsAttributes
- type AccountLevelAdvancedDataProtectionMetricsState
- type AccountLevelAttributes
- func (al AccountLevelAttributes) ActivityMetrics() terra.ListValue[AccountLevelActivityMetricsAttributes]
- func (al AccountLevelAttributes) AdvancedCostOptimizationMetrics() terra.ListValue[AccountLevelAdvancedCostOptimizationMetricsAttributes]
- func (al AccountLevelAttributes) AdvancedDataProtectionMetrics() terra.ListValue[AccountLevelAdvancedDataProtectionMetricsAttributes]
- func (al AccountLevelAttributes) BucketLevel() terra.ListValue[BucketLevelAttributes]
- func (al AccountLevelAttributes) DetailedStatusCodeMetrics() terra.ListValue[AccountLevelDetailedStatusCodeMetricsAttributes]
- func (al AccountLevelAttributes) InternalRef() (terra.Reference, error)
- func (al AccountLevelAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (al AccountLevelAttributes) InternalWithRef(ref terra.Reference) AccountLevelAttributes
- type AccountLevelDetailedStatusCodeMetrics
- type AccountLevelDetailedStatusCodeMetricsAttributes
- func (dscm AccountLevelDetailedStatusCodeMetricsAttributes) Enabled() terra.BoolValue
- func (dscm AccountLevelDetailedStatusCodeMetricsAttributes) InternalRef() (terra.Reference, error)
- func (dscm AccountLevelDetailedStatusCodeMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dscm AccountLevelDetailedStatusCodeMetricsAttributes) InternalWithRef(ref terra.Reference) AccountLevelDetailedStatusCodeMetricsAttributes
- type AccountLevelDetailedStatusCodeMetricsState
- type AccountLevelState
- type AwsOrg
- type AwsOrgAttributes
- type AwsOrgState
- type BucketLevel
- type BucketLevelActivityMetrics
- type BucketLevelActivityMetricsAttributes
- func (am BucketLevelActivityMetricsAttributes) Enabled() terra.BoolValue
- func (am BucketLevelActivityMetricsAttributes) InternalRef() (terra.Reference, error)
- func (am BucketLevelActivityMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (am BucketLevelActivityMetricsAttributes) InternalWithRef(ref terra.Reference) BucketLevelActivityMetricsAttributes
- type BucketLevelActivityMetricsState
- type BucketLevelAdvancedCostOptimizationMetrics
- type BucketLevelAdvancedCostOptimizationMetricsAttributes
- func (acom BucketLevelAdvancedCostOptimizationMetricsAttributes) Enabled() terra.BoolValue
- func (acom BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalRef() (terra.Reference, error)
- func (acom BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (acom BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalWithRef(ref terra.Reference) BucketLevelAdvancedCostOptimizationMetricsAttributes
- type BucketLevelAdvancedCostOptimizationMetricsState
- type BucketLevelAdvancedDataProtectionMetrics
- type BucketLevelAdvancedDataProtectionMetricsAttributes
- func (adpm BucketLevelAdvancedDataProtectionMetricsAttributes) Enabled() terra.BoolValue
- func (adpm BucketLevelAdvancedDataProtectionMetricsAttributes) InternalRef() (terra.Reference, error)
- func (adpm BucketLevelAdvancedDataProtectionMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (adpm BucketLevelAdvancedDataProtectionMetricsAttributes) InternalWithRef(ref terra.Reference) BucketLevelAdvancedDataProtectionMetricsAttributes
- type BucketLevelAdvancedDataProtectionMetricsState
- type BucketLevelAttributes
- func (bl BucketLevelAttributes) ActivityMetrics() terra.ListValue[BucketLevelActivityMetricsAttributes]
- func (bl BucketLevelAttributes) AdvancedCostOptimizationMetrics() terra.ListValue[BucketLevelAdvancedCostOptimizationMetricsAttributes]
- func (bl BucketLevelAttributes) AdvancedDataProtectionMetrics() terra.ListValue[BucketLevelAdvancedDataProtectionMetricsAttributes]
- func (bl BucketLevelAttributes) DetailedStatusCodeMetrics() terra.ListValue[BucketLevelDetailedStatusCodeMetricsAttributes]
- func (bl BucketLevelAttributes) InternalRef() (terra.Reference, error)
- func (bl BucketLevelAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (bl BucketLevelAttributes) InternalWithRef(ref terra.Reference) BucketLevelAttributes
- func (bl BucketLevelAttributes) PrefixLevel() terra.ListValue[PrefixLevelAttributes]
- type BucketLevelDetailedStatusCodeMetrics
- type BucketLevelDetailedStatusCodeMetricsAttributes
- func (dscm BucketLevelDetailedStatusCodeMetricsAttributes) Enabled() terra.BoolValue
- func (dscm BucketLevelDetailedStatusCodeMetricsAttributes) InternalRef() (terra.Reference, error)
- func (dscm BucketLevelDetailedStatusCodeMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (dscm BucketLevelDetailedStatusCodeMetricsAttributes) InternalWithRef(ref terra.Reference) BucketLevelDetailedStatusCodeMetricsAttributes
- type BucketLevelDetailedStatusCodeMetricsState
- type BucketLevelState
- type CloudWatchMetrics
- type CloudWatchMetricsAttributes
- func (cwm CloudWatchMetricsAttributes) Enabled() terra.BoolValue
- func (cwm CloudWatchMetricsAttributes) InternalRef() (terra.Reference, error)
- func (cwm CloudWatchMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cwm CloudWatchMetricsAttributes) InternalWithRef(ref terra.Reference) CloudWatchMetricsAttributes
- type CloudWatchMetricsState
- type DataExport
- type DataExportAttributes
- func (de DataExportAttributes) CloudWatchMetrics() terra.ListValue[CloudWatchMetricsAttributes]
- func (de DataExportAttributes) InternalRef() (terra.Reference, error)
- func (de DataExportAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (de DataExportAttributes) InternalWithRef(ref terra.Reference) DataExportAttributes
- func (de DataExportAttributes) S3BucketDestination() terra.ListValue[S3BucketDestinationAttributes]
- type DataExportState
- 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 Exclude
- type ExcludeAttributes
- func (e ExcludeAttributes) Buckets() terra.SetValue[terra.StringValue]
- func (e ExcludeAttributes) InternalRef() (terra.Reference, error)
- func (e ExcludeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (e ExcludeAttributes) InternalWithRef(ref terra.Reference) ExcludeAttributes
- func (e ExcludeAttributes) Regions() terra.SetValue[terra.StringValue]
- type ExcludeState
- type Include
- type IncludeAttributes
- func (i IncludeAttributes) Buckets() terra.SetValue[terra.StringValue]
- func (i IncludeAttributes) InternalRef() (terra.Reference, error)
- func (i IncludeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (i IncludeAttributes) InternalWithRef(ref terra.Reference) IncludeAttributes
- func (i IncludeAttributes) Regions() terra.SetValue[terra.StringValue]
- type IncludeState
- type PrefixLevel
- type PrefixLevelAttributes
- func (pl PrefixLevelAttributes) InternalRef() (terra.Reference, error)
- func (pl PrefixLevelAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (pl PrefixLevelAttributes) InternalWithRef(ref terra.Reference) PrefixLevelAttributes
- func (pl PrefixLevelAttributes) StorageMetrics() terra.ListValue[StorageMetricsAttributes]
- type PrefixLevelState
- type S3BucketDestination
- type S3BucketDestinationAttributes
- func (sbd S3BucketDestinationAttributes) AccountId() terra.StringValue
- func (sbd S3BucketDestinationAttributes) Arn() terra.StringValue
- func (sbd S3BucketDestinationAttributes) Encryption() terra.ListValue[EncryptionAttributes]
- func (sbd S3BucketDestinationAttributes) Format() terra.StringValue
- func (sbd S3BucketDestinationAttributes) InternalRef() (terra.Reference, error)
- func (sbd S3BucketDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sbd S3BucketDestinationAttributes) InternalWithRef(ref terra.Reference) S3BucketDestinationAttributes
- func (sbd S3BucketDestinationAttributes) OutputSchemaVersion() terra.StringValue
- func (sbd S3BucketDestinationAttributes) Prefix() terra.StringValue
- type S3BucketDestinationState
- type SelectionCriteria
- type SelectionCriteriaAttributes
- func (sc SelectionCriteriaAttributes) Delimiter() terra.StringValue
- func (sc SelectionCriteriaAttributes) InternalRef() (terra.Reference, error)
- func (sc SelectionCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sc SelectionCriteriaAttributes) InternalWithRef(ref terra.Reference) SelectionCriteriaAttributes
- func (sc SelectionCriteriaAttributes) MaxDepth() terra.NumberValue
- func (sc SelectionCriteriaAttributes) MinStorageBytesPercentage() terra.NumberValue
- type SelectionCriteriaState
- type SseKms
- type SseKmsAttributes
- type SseKmsState
- type SseS3
- type SseS3Attributes
- type SseS3State
- type StorageLensConfiguration
- type StorageLensConfigurationAttributes
- func (slc StorageLensConfigurationAttributes) AccountLevel() terra.ListValue[AccountLevelAttributes]
- func (slc StorageLensConfigurationAttributes) AwsOrg() terra.ListValue[AwsOrgAttributes]
- func (slc StorageLensConfigurationAttributes) DataExport() terra.ListValue[DataExportAttributes]
- func (slc StorageLensConfigurationAttributes) Enabled() terra.BoolValue
- func (slc StorageLensConfigurationAttributes) Exclude() terra.ListValue[ExcludeAttributes]
- func (slc StorageLensConfigurationAttributes) Include() terra.ListValue[IncludeAttributes]
- func (slc StorageLensConfigurationAttributes) InternalRef() (terra.Reference, error)
- func (slc StorageLensConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (slc StorageLensConfigurationAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAttributes
- type StorageLensConfigurationState
- type StorageMetrics
- type StorageMetricsAttributes
- func (sm StorageMetricsAttributes) Enabled() terra.BoolValue
- func (sm StorageMetricsAttributes) InternalRef() (terra.Reference, error)
- func (sm StorageMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sm StorageMetricsAttributes) InternalWithRef(ref terra.Reference) StorageMetricsAttributes
- func (sm StorageMetricsAttributes) SelectionCriteria() terra.ListValue[SelectionCriteriaAttributes]
- type StorageMetricsState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountLevel ¶
type AccountLevel struct { // AccountLevelActivityMetrics: optional ActivityMetrics *AccountLevelActivityMetrics `hcl:"activity_metrics,block"` // AccountLevelAdvancedCostOptimizationMetrics: optional AdvancedCostOptimizationMetrics *AccountLevelAdvancedCostOptimizationMetrics `hcl:"advanced_cost_optimization_metrics,block"` // AccountLevelAdvancedDataProtectionMetrics: optional AdvancedDataProtectionMetrics *AccountLevelAdvancedDataProtectionMetrics `hcl:"advanced_data_protection_metrics,block"` // BucketLevel: required BucketLevel *BucketLevel `hcl:"bucket_level,block" validate:"required"` // AccountLevelDetailedStatusCodeMetrics: optional DetailedStatusCodeMetrics *AccountLevelDetailedStatusCodeMetrics `hcl:"detailed_status_code_metrics,block"` }
type AccountLevelActivityMetricsAttributes ¶
type AccountLevelActivityMetricsAttributes struct {
// contains filtered or unexported fields
}
func (AccountLevelActivityMetricsAttributes) Enabled ¶
func (am AccountLevelActivityMetricsAttributes) Enabled() terra.BoolValue
func (AccountLevelActivityMetricsAttributes) InternalRef ¶
func (am AccountLevelActivityMetricsAttributes) InternalRef() (terra.Reference, error)
func (AccountLevelActivityMetricsAttributes) InternalTokens ¶
func (am AccountLevelActivityMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccountLevelActivityMetricsAttributes) InternalWithRef ¶
func (am AccountLevelActivityMetricsAttributes) InternalWithRef(ref terra.Reference) AccountLevelActivityMetricsAttributes
type AccountLevelActivityMetricsState ¶
type AccountLevelActivityMetricsState struct {
Enabled bool `json:"enabled"`
}
type AccountLevelAdvancedCostOptimizationMetricsAttributes ¶
type AccountLevelAdvancedCostOptimizationMetricsAttributes struct {
// contains filtered or unexported fields
}
func (AccountLevelAdvancedCostOptimizationMetricsAttributes) Enabled ¶
func (acom AccountLevelAdvancedCostOptimizationMetricsAttributes) Enabled() terra.BoolValue
func (AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalRef ¶
func (acom AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalRef() (terra.Reference, error)
func (AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalTokens ¶
func (acom AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalWithRef ¶
func (acom AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalWithRef(ref terra.Reference) AccountLevelAdvancedCostOptimizationMetricsAttributes
type AccountLevelAdvancedCostOptimizationMetricsState ¶
type AccountLevelAdvancedCostOptimizationMetricsState struct {
Enabled bool `json:"enabled"`
}
type AccountLevelAdvancedDataProtectionMetricsAttributes ¶
type AccountLevelAdvancedDataProtectionMetricsAttributes struct {
// contains filtered or unexported fields
}
func (AccountLevelAdvancedDataProtectionMetricsAttributes) Enabled ¶
func (adpm AccountLevelAdvancedDataProtectionMetricsAttributes) Enabled() terra.BoolValue
func (AccountLevelAdvancedDataProtectionMetricsAttributes) InternalRef ¶
func (adpm AccountLevelAdvancedDataProtectionMetricsAttributes) InternalRef() (terra.Reference, error)
func (AccountLevelAdvancedDataProtectionMetricsAttributes) InternalTokens ¶
func (adpm AccountLevelAdvancedDataProtectionMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccountLevelAdvancedDataProtectionMetricsAttributes) InternalWithRef ¶
func (adpm AccountLevelAdvancedDataProtectionMetricsAttributes) InternalWithRef(ref terra.Reference) AccountLevelAdvancedDataProtectionMetricsAttributes
type AccountLevelAdvancedDataProtectionMetricsState ¶
type AccountLevelAdvancedDataProtectionMetricsState struct {
Enabled bool `json:"enabled"`
}
type AccountLevelAttributes ¶
type AccountLevelAttributes struct {
// contains filtered or unexported fields
}
func (AccountLevelAttributes) ActivityMetrics ¶
func (al AccountLevelAttributes) ActivityMetrics() terra.ListValue[AccountLevelActivityMetricsAttributes]
func (AccountLevelAttributes) AdvancedCostOptimizationMetrics ¶
func (al AccountLevelAttributes) AdvancedCostOptimizationMetrics() terra.ListValue[AccountLevelAdvancedCostOptimizationMetricsAttributes]
func (AccountLevelAttributes) AdvancedDataProtectionMetrics ¶
func (al AccountLevelAttributes) AdvancedDataProtectionMetrics() terra.ListValue[AccountLevelAdvancedDataProtectionMetricsAttributes]
func (AccountLevelAttributes) BucketLevel ¶
func (al AccountLevelAttributes) BucketLevel() terra.ListValue[BucketLevelAttributes]
func (AccountLevelAttributes) DetailedStatusCodeMetrics ¶
func (al AccountLevelAttributes) DetailedStatusCodeMetrics() terra.ListValue[AccountLevelDetailedStatusCodeMetricsAttributes]
func (AccountLevelAttributes) InternalRef ¶
func (al AccountLevelAttributes) InternalRef() (terra.Reference, error)
func (AccountLevelAttributes) InternalTokens ¶
func (al AccountLevelAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccountLevelAttributes) InternalWithRef ¶
func (al AccountLevelAttributes) InternalWithRef(ref terra.Reference) AccountLevelAttributes
type AccountLevelDetailedStatusCodeMetricsAttributes ¶
type AccountLevelDetailedStatusCodeMetricsAttributes struct {
// contains filtered or unexported fields
}
func (AccountLevelDetailedStatusCodeMetricsAttributes) Enabled ¶
func (dscm AccountLevelDetailedStatusCodeMetricsAttributes) Enabled() terra.BoolValue
func (AccountLevelDetailedStatusCodeMetricsAttributes) InternalRef ¶
func (dscm AccountLevelDetailedStatusCodeMetricsAttributes) InternalRef() (terra.Reference, error)
func (AccountLevelDetailedStatusCodeMetricsAttributes) InternalTokens ¶
func (dscm AccountLevelDetailedStatusCodeMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AccountLevelDetailedStatusCodeMetricsAttributes) InternalWithRef ¶
func (dscm AccountLevelDetailedStatusCodeMetricsAttributes) InternalWithRef(ref terra.Reference) AccountLevelDetailedStatusCodeMetricsAttributes
type AccountLevelDetailedStatusCodeMetricsState ¶
type AccountLevelDetailedStatusCodeMetricsState struct {
Enabled bool `json:"enabled"`
}
type AccountLevelState ¶
type AccountLevelState struct { ActivityMetrics []AccountLevelActivityMetricsState `json:"activity_metrics"` AdvancedCostOptimizationMetrics []AccountLevelAdvancedCostOptimizationMetricsState `json:"advanced_cost_optimization_metrics"` AdvancedDataProtectionMetrics []AccountLevelAdvancedDataProtectionMetricsState `json:"advanced_data_protection_metrics"` BucketLevel []BucketLevelState `json:"bucket_level"` DetailedStatusCodeMetrics []AccountLevelDetailedStatusCodeMetricsState `json:"detailed_status_code_metrics"` }
type AwsOrg ¶
type AwsOrg struct { // Arn: string, required Arn terra.StringValue `hcl:"arn,attr" validate:"required"` }
type AwsOrgAttributes ¶
type AwsOrgAttributes struct {
// contains filtered or unexported fields
}
func (AwsOrgAttributes) Arn ¶
func (ao AwsOrgAttributes) Arn() terra.StringValue
func (AwsOrgAttributes) InternalRef ¶
func (ao AwsOrgAttributes) InternalRef() (terra.Reference, error)
func (AwsOrgAttributes) InternalTokens ¶
func (ao AwsOrgAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AwsOrgAttributes) InternalWithRef ¶
func (ao AwsOrgAttributes) InternalWithRef(ref terra.Reference) AwsOrgAttributes
type AwsOrgState ¶
type AwsOrgState struct {
Arn string `json:"arn"`
}
type BucketLevel ¶
type BucketLevel struct { // BucketLevelActivityMetrics: optional ActivityMetrics *BucketLevelActivityMetrics `hcl:"activity_metrics,block"` // BucketLevelAdvancedCostOptimizationMetrics: optional AdvancedCostOptimizationMetrics *BucketLevelAdvancedCostOptimizationMetrics `hcl:"advanced_cost_optimization_metrics,block"` // BucketLevelAdvancedDataProtectionMetrics: optional AdvancedDataProtectionMetrics *BucketLevelAdvancedDataProtectionMetrics `hcl:"advanced_data_protection_metrics,block"` // BucketLevelDetailedStatusCodeMetrics: optional DetailedStatusCodeMetrics *BucketLevelDetailedStatusCodeMetrics `hcl:"detailed_status_code_metrics,block"` // PrefixLevel: optional PrefixLevel *PrefixLevel `hcl:"prefix_level,block"` }
type BucketLevelActivityMetricsAttributes ¶
type BucketLevelActivityMetricsAttributes struct {
// contains filtered or unexported fields
}
func (BucketLevelActivityMetricsAttributes) Enabled ¶
func (am BucketLevelActivityMetricsAttributes) Enabled() terra.BoolValue
func (BucketLevelActivityMetricsAttributes) InternalRef ¶
func (am BucketLevelActivityMetricsAttributes) InternalRef() (terra.Reference, error)
func (BucketLevelActivityMetricsAttributes) InternalTokens ¶
func (am BucketLevelActivityMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BucketLevelActivityMetricsAttributes) InternalWithRef ¶
func (am BucketLevelActivityMetricsAttributes) InternalWithRef(ref terra.Reference) BucketLevelActivityMetricsAttributes
type BucketLevelActivityMetricsState ¶
type BucketLevelActivityMetricsState struct {
Enabled bool `json:"enabled"`
}
type BucketLevelAdvancedCostOptimizationMetricsAttributes ¶
type BucketLevelAdvancedCostOptimizationMetricsAttributes struct {
// contains filtered or unexported fields
}
func (BucketLevelAdvancedCostOptimizationMetricsAttributes) Enabled ¶
func (acom BucketLevelAdvancedCostOptimizationMetricsAttributes) Enabled() terra.BoolValue
func (BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalRef ¶
func (acom BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalRef() (terra.Reference, error)
func (BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalTokens ¶
func (acom BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalWithRef ¶
func (acom BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalWithRef(ref terra.Reference) BucketLevelAdvancedCostOptimizationMetricsAttributes
type BucketLevelAdvancedCostOptimizationMetricsState ¶
type BucketLevelAdvancedCostOptimizationMetricsState struct {
Enabled bool `json:"enabled"`
}
type BucketLevelAdvancedDataProtectionMetricsAttributes ¶
type BucketLevelAdvancedDataProtectionMetricsAttributes struct {
// contains filtered or unexported fields
}
func (BucketLevelAdvancedDataProtectionMetricsAttributes) Enabled ¶
func (adpm BucketLevelAdvancedDataProtectionMetricsAttributes) Enabled() terra.BoolValue
func (BucketLevelAdvancedDataProtectionMetricsAttributes) InternalRef ¶
func (adpm BucketLevelAdvancedDataProtectionMetricsAttributes) InternalRef() (terra.Reference, error)
func (BucketLevelAdvancedDataProtectionMetricsAttributes) InternalTokens ¶
func (adpm BucketLevelAdvancedDataProtectionMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BucketLevelAdvancedDataProtectionMetricsAttributes) InternalWithRef ¶
func (adpm BucketLevelAdvancedDataProtectionMetricsAttributes) InternalWithRef(ref terra.Reference) BucketLevelAdvancedDataProtectionMetricsAttributes
type BucketLevelAdvancedDataProtectionMetricsState ¶
type BucketLevelAdvancedDataProtectionMetricsState struct {
Enabled bool `json:"enabled"`
}
type BucketLevelAttributes ¶
type BucketLevelAttributes struct {
// contains filtered or unexported fields
}
func (BucketLevelAttributes) ActivityMetrics ¶
func (bl BucketLevelAttributes) ActivityMetrics() terra.ListValue[BucketLevelActivityMetricsAttributes]
func (BucketLevelAttributes) AdvancedCostOptimizationMetrics ¶
func (bl BucketLevelAttributes) AdvancedCostOptimizationMetrics() terra.ListValue[BucketLevelAdvancedCostOptimizationMetricsAttributes]
func (BucketLevelAttributes) AdvancedDataProtectionMetrics ¶
func (bl BucketLevelAttributes) AdvancedDataProtectionMetrics() terra.ListValue[BucketLevelAdvancedDataProtectionMetricsAttributes]
func (BucketLevelAttributes) DetailedStatusCodeMetrics ¶
func (bl BucketLevelAttributes) DetailedStatusCodeMetrics() terra.ListValue[BucketLevelDetailedStatusCodeMetricsAttributes]
func (BucketLevelAttributes) InternalRef ¶
func (bl BucketLevelAttributes) InternalRef() (terra.Reference, error)
func (BucketLevelAttributes) InternalTokens ¶
func (bl BucketLevelAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BucketLevelAttributes) InternalWithRef ¶
func (bl BucketLevelAttributes) InternalWithRef(ref terra.Reference) BucketLevelAttributes
func (BucketLevelAttributes) PrefixLevel ¶
func (bl BucketLevelAttributes) PrefixLevel() terra.ListValue[PrefixLevelAttributes]
type BucketLevelDetailedStatusCodeMetricsAttributes ¶
type BucketLevelDetailedStatusCodeMetricsAttributes struct {
// contains filtered or unexported fields
}
func (BucketLevelDetailedStatusCodeMetricsAttributes) Enabled ¶
func (dscm BucketLevelDetailedStatusCodeMetricsAttributes) Enabled() terra.BoolValue
func (BucketLevelDetailedStatusCodeMetricsAttributes) InternalRef ¶
func (dscm BucketLevelDetailedStatusCodeMetricsAttributes) InternalRef() (terra.Reference, error)
func (BucketLevelDetailedStatusCodeMetricsAttributes) InternalTokens ¶
func (dscm BucketLevelDetailedStatusCodeMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (BucketLevelDetailedStatusCodeMetricsAttributes) InternalWithRef ¶
func (dscm BucketLevelDetailedStatusCodeMetricsAttributes) InternalWithRef(ref terra.Reference) BucketLevelDetailedStatusCodeMetricsAttributes
type BucketLevelDetailedStatusCodeMetricsState ¶
type BucketLevelDetailedStatusCodeMetricsState struct {
Enabled bool `json:"enabled"`
}
type BucketLevelState ¶
type BucketLevelState struct { ActivityMetrics []BucketLevelActivityMetricsState `json:"activity_metrics"` AdvancedCostOptimizationMetrics []BucketLevelAdvancedCostOptimizationMetricsState `json:"advanced_cost_optimization_metrics"` AdvancedDataProtectionMetrics []BucketLevelAdvancedDataProtectionMetricsState `json:"advanced_data_protection_metrics"` DetailedStatusCodeMetrics []BucketLevelDetailedStatusCodeMetricsState `json:"detailed_status_code_metrics"` PrefixLevel []PrefixLevelState `json:"prefix_level"` }
type CloudWatchMetrics ¶
type CloudWatchMetricsAttributes ¶
type CloudWatchMetricsAttributes struct {
// contains filtered or unexported fields
}
func (CloudWatchMetricsAttributes) Enabled ¶
func (cwm CloudWatchMetricsAttributes) Enabled() terra.BoolValue
func (CloudWatchMetricsAttributes) InternalRef ¶
func (cwm CloudWatchMetricsAttributes) InternalRef() (terra.Reference, error)
func (CloudWatchMetricsAttributes) InternalTokens ¶
func (cwm CloudWatchMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CloudWatchMetricsAttributes) InternalWithRef ¶
func (cwm CloudWatchMetricsAttributes) InternalWithRef(ref terra.Reference) CloudWatchMetricsAttributes
type CloudWatchMetricsState ¶
type CloudWatchMetricsState struct {
Enabled bool `json:"enabled"`
}
type DataExport ¶
type DataExport struct { // CloudWatchMetrics: optional CloudWatchMetrics *CloudWatchMetrics `hcl:"cloud_watch_metrics,block"` // S3BucketDestination: optional S3BucketDestination *S3BucketDestination `hcl:"s3_bucket_destination,block"` }
type DataExportAttributes ¶
type DataExportAttributes struct {
// contains filtered or unexported fields
}
func (DataExportAttributes) CloudWatchMetrics ¶
func (de DataExportAttributes) CloudWatchMetrics() terra.ListValue[CloudWatchMetricsAttributes]
func (DataExportAttributes) InternalRef ¶
func (de DataExportAttributes) InternalRef() (terra.Reference, error)
func (DataExportAttributes) InternalTokens ¶
func (de DataExportAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataExportAttributes) InternalWithRef ¶
func (de DataExportAttributes) InternalWithRef(ref terra.Reference) DataExportAttributes
func (DataExportAttributes) S3BucketDestination ¶
func (de DataExportAttributes) S3BucketDestination() terra.ListValue[S3BucketDestinationAttributes]
type DataExportState ¶
type DataExportState struct { CloudWatchMetrics []CloudWatchMetricsState `json:"cloud_watch_metrics"` S3BucketDestination []S3BucketDestinationState `json:"s3_bucket_destination"` }
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 Exclude ¶
type Exclude struct { // Buckets: set of string, optional Buckets terra.SetValue[terra.StringValue] `hcl:"buckets,attr"` // Regions: set of string, optional Regions terra.SetValue[terra.StringValue] `hcl:"regions,attr"` }
type ExcludeAttributes ¶
type ExcludeAttributes struct {
// contains filtered or unexported fields
}
func (ExcludeAttributes) Buckets ¶
func (e ExcludeAttributes) Buckets() terra.SetValue[terra.StringValue]
func (ExcludeAttributes) InternalRef ¶
func (e ExcludeAttributes) InternalRef() (terra.Reference, error)
func (ExcludeAttributes) InternalTokens ¶
func (e ExcludeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ExcludeAttributes) InternalWithRef ¶
func (e ExcludeAttributes) InternalWithRef(ref terra.Reference) ExcludeAttributes
func (ExcludeAttributes) Regions ¶
func (e ExcludeAttributes) Regions() terra.SetValue[terra.StringValue]
type ExcludeState ¶
type Include ¶
type Include struct { // Buckets: set of string, optional Buckets terra.SetValue[terra.StringValue] `hcl:"buckets,attr"` // Regions: set of string, optional Regions terra.SetValue[terra.StringValue] `hcl:"regions,attr"` }
type IncludeAttributes ¶
type IncludeAttributes struct {
// contains filtered or unexported fields
}
func (IncludeAttributes) Buckets ¶
func (i IncludeAttributes) Buckets() terra.SetValue[terra.StringValue]
func (IncludeAttributes) InternalRef ¶
func (i IncludeAttributes) InternalRef() (terra.Reference, error)
func (IncludeAttributes) InternalTokens ¶
func (i IncludeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IncludeAttributes) InternalWithRef ¶
func (i IncludeAttributes) InternalWithRef(ref terra.Reference) IncludeAttributes
func (IncludeAttributes) Regions ¶
func (i IncludeAttributes) Regions() terra.SetValue[terra.StringValue]
type IncludeState ¶
type PrefixLevel ¶
type PrefixLevel struct { // StorageMetrics: required StorageMetrics *StorageMetrics `hcl:"storage_metrics,block" validate:"required"` }
type PrefixLevelAttributes ¶
type PrefixLevelAttributes struct {
// contains filtered or unexported fields
}
func (PrefixLevelAttributes) InternalRef ¶
func (pl PrefixLevelAttributes) InternalRef() (terra.Reference, error)
func (PrefixLevelAttributes) InternalTokens ¶
func (pl PrefixLevelAttributes) InternalTokens() (hclwrite.Tokens, error)
func (PrefixLevelAttributes) InternalWithRef ¶
func (pl PrefixLevelAttributes) InternalWithRef(ref terra.Reference) PrefixLevelAttributes
func (PrefixLevelAttributes) StorageMetrics ¶
func (pl PrefixLevelAttributes) StorageMetrics() terra.ListValue[StorageMetricsAttributes]
type PrefixLevelState ¶
type PrefixLevelState struct {
StorageMetrics []StorageMetricsState `json:"storage_metrics"`
}
type S3BucketDestination ¶
type S3BucketDestination struct { // AccountId: string, required AccountId terra.StringValue `hcl:"account_id,attr" validate:"required"` // Arn: string, required Arn terra.StringValue `hcl:"arn,attr" validate:"required"` // Format: string, required Format terra.StringValue `hcl:"format,attr" validate:"required"` // OutputSchemaVersion: string, required OutputSchemaVersion terra.StringValue `hcl:"output_schema_version,attr" validate:"required"` // Prefix: string, optional Prefix terra.StringValue `hcl:"prefix,attr"` // Encryption: optional Encryption *Encryption `hcl:"encryption,block"` }
type S3BucketDestinationAttributes ¶
type S3BucketDestinationAttributes struct {
// contains filtered or unexported fields
}
func (S3BucketDestinationAttributes) AccountId ¶
func (sbd S3BucketDestinationAttributes) AccountId() terra.StringValue
func (S3BucketDestinationAttributes) Arn ¶
func (sbd S3BucketDestinationAttributes) Arn() terra.StringValue
func (S3BucketDestinationAttributes) Encryption ¶
func (sbd S3BucketDestinationAttributes) Encryption() terra.ListValue[EncryptionAttributes]
func (S3BucketDestinationAttributes) Format ¶
func (sbd S3BucketDestinationAttributes) Format() terra.StringValue
func (S3BucketDestinationAttributes) InternalRef ¶
func (sbd S3BucketDestinationAttributes) InternalRef() (terra.Reference, error)
func (S3BucketDestinationAttributes) InternalTokens ¶
func (sbd S3BucketDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (S3BucketDestinationAttributes) InternalWithRef ¶
func (sbd S3BucketDestinationAttributes) InternalWithRef(ref terra.Reference) S3BucketDestinationAttributes
func (S3BucketDestinationAttributes) OutputSchemaVersion ¶
func (sbd S3BucketDestinationAttributes) OutputSchemaVersion() terra.StringValue
func (S3BucketDestinationAttributes) Prefix ¶
func (sbd S3BucketDestinationAttributes) Prefix() terra.StringValue
type SelectionCriteria ¶
type SelectionCriteria struct { // Delimiter: string, optional Delimiter terra.StringValue `hcl:"delimiter,attr"` // MaxDepth: number, optional MaxDepth terra.NumberValue `hcl:"max_depth,attr"` // MinStorageBytesPercentage: number, optional MinStorageBytesPercentage terra.NumberValue `hcl:"min_storage_bytes_percentage,attr"` }
type SelectionCriteriaAttributes ¶
type SelectionCriteriaAttributes struct {
// contains filtered or unexported fields
}
func (SelectionCriteriaAttributes) Delimiter ¶
func (sc SelectionCriteriaAttributes) Delimiter() terra.StringValue
func (SelectionCriteriaAttributes) InternalRef ¶
func (sc SelectionCriteriaAttributes) InternalRef() (terra.Reference, error)
func (SelectionCriteriaAttributes) InternalTokens ¶
func (sc SelectionCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)
func (SelectionCriteriaAttributes) InternalWithRef ¶
func (sc SelectionCriteriaAttributes) InternalWithRef(ref terra.Reference) SelectionCriteriaAttributes
func (SelectionCriteriaAttributes) MaxDepth ¶
func (sc SelectionCriteriaAttributes) MaxDepth() terra.NumberValue
func (SelectionCriteriaAttributes) MinStorageBytesPercentage ¶
func (sc SelectionCriteriaAttributes) MinStorageBytesPercentage() terra.NumberValue
type SelectionCriteriaState ¶
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{}
type StorageLensConfiguration ¶
type StorageLensConfiguration struct { // Enabled: bool, required Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"` // AccountLevel: required AccountLevel *AccountLevel `hcl:"account_level,block" validate:"required"` // AwsOrg: optional AwsOrg *AwsOrg `hcl:"aws_org,block"` // DataExport: optional DataExport *DataExport `hcl:"data_export,block"` // Exclude: optional Exclude *Exclude `hcl:"exclude,block"` // Include: optional Include *Include `hcl:"include,block"` }
type StorageLensConfigurationAttributes ¶
type StorageLensConfigurationAttributes struct {
// contains filtered or unexported fields
}
func (StorageLensConfigurationAttributes) AccountLevel ¶
func (slc StorageLensConfigurationAttributes) AccountLevel() terra.ListValue[AccountLevelAttributes]
func (StorageLensConfigurationAttributes) AwsOrg ¶
func (slc StorageLensConfigurationAttributes) AwsOrg() terra.ListValue[AwsOrgAttributes]
func (StorageLensConfigurationAttributes) DataExport ¶
func (slc StorageLensConfigurationAttributes) DataExport() terra.ListValue[DataExportAttributes]
func (StorageLensConfigurationAttributes) Enabled ¶
func (slc StorageLensConfigurationAttributes) Enabled() terra.BoolValue
func (StorageLensConfigurationAttributes) Exclude ¶
func (slc StorageLensConfigurationAttributes) Exclude() terra.ListValue[ExcludeAttributes]
func (StorageLensConfigurationAttributes) Include ¶
func (slc StorageLensConfigurationAttributes) Include() terra.ListValue[IncludeAttributes]
func (StorageLensConfigurationAttributes) InternalRef ¶
func (slc StorageLensConfigurationAttributes) InternalRef() (terra.Reference, error)
func (StorageLensConfigurationAttributes) InternalTokens ¶
func (slc StorageLensConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageLensConfigurationAttributes) InternalWithRef ¶
func (slc StorageLensConfigurationAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAttributes
type StorageLensConfigurationState ¶
type StorageLensConfigurationState struct { Enabled bool `json:"enabled"` AccountLevel []AccountLevelState `json:"account_level"` AwsOrg []AwsOrgState `json:"aws_org"` DataExport []DataExportState `json:"data_export"` Exclude []ExcludeState `json:"exclude"` Include []IncludeState `json:"include"` }
type StorageMetrics ¶
type StorageMetrics struct { // Enabled: bool, optional Enabled terra.BoolValue `hcl:"enabled,attr"` // SelectionCriteria: optional SelectionCriteria *SelectionCriteria `hcl:"selection_criteria,block"` }
type StorageMetricsAttributes ¶
type StorageMetricsAttributes struct {
// contains filtered or unexported fields
}
func (StorageMetricsAttributes) Enabled ¶
func (sm StorageMetricsAttributes) Enabled() terra.BoolValue
func (StorageMetricsAttributes) InternalRef ¶
func (sm StorageMetricsAttributes) InternalRef() (terra.Reference, error)
func (StorageMetricsAttributes) InternalTokens ¶
func (sm StorageMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StorageMetricsAttributes) InternalWithRef ¶
func (sm StorageMetricsAttributes) InternalWithRef(ref terra.Reference) StorageMetricsAttributes
func (StorageMetricsAttributes) SelectionCriteria ¶
func (sm StorageMetricsAttributes) SelectionCriteria() terra.ListValue[SelectionCriteriaAttributes]
type StorageMetricsState ¶
type StorageMetricsState struct { Enabled bool `json:"enabled"` SelectionCriteria []SelectionCriteriaState `json:"selection_criteria"` }
Click to show internal directories.
Click to hide internal directories.