s3controlstoragelensconfiguration

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 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 AccountLevelActivityMetrics

type AccountLevelActivityMetrics struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type AccountLevelActivityMetricsAttributes

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

func (AccountLevelActivityMetricsAttributes) Enabled

func (AccountLevelActivityMetricsAttributes) InternalRef

func (AccountLevelActivityMetricsAttributes) InternalTokens

func (AccountLevelActivityMetricsAttributes) InternalWithRef

type AccountLevelActivityMetricsState

type AccountLevelActivityMetricsState struct {
	Enabled bool `json:"enabled"`
}

type AccountLevelAdvancedCostOptimizationMetrics

type AccountLevelAdvancedCostOptimizationMetrics struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type AccountLevelAdvancedCostOptimizationMetricsAttributes

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

func (AccountLevelAdvancedCostOptimizationMetricsAttributes) Enabled

func (AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalRef

func (AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalTokens

func (AccountLevelAdvancedCostOptimizationMetricsAttributes) InternalWithRef

type AccountLevelAdvancedCostOptimizationMetricsState

type AccountLevelAdvancedCostOptimizationMetricsState struct {
	Enabled bool `json:"enabled"`
}

type AccountLevelAdvancedDataProtectionMetrics

type AccountLevelAdvancedDataProtectionMetrics struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type AccountLevelAdvancedDataProtectionMetricsAttributes

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

func (AccountLevelAdvancedDataProtectionMetricsAttributes) Enabled

func (AccountLevelAdvancedDataProtectionMetricsAttributes) InternalRef

func (AccountLevelAdvancedDataProtectionMetricsAttributes) InternalTokens

func (AccountLevelAdvancedDataProtectionMetricsAttributes) InternalWithRef

type AccountLevelAdvancedDataProtectionMetricsState

type AccountLevelAdvancedDataProtectionMetricsState struct {
	Enabled bool `json:"enabled"`
}

type AccountLevelAttributes

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

func (AccountLevelAttributes) ActivityMetrics

func (AccountLevelAttributes) AdvancedCostOptimizationMetrics

func (AccountLevelAttributes) AdvancedDataProtectionMetrics

func (AccountLevelAttributes) BucketLevel

func (AccountLevelAttributes) DetailedStatusCodeMetrics

func (AccountLevelAttributes) InternalRef

func (al AccountLevelAttributes) InternalRef() (terra.Reference, error)

func (AccountLevelAttributes) InternalTokens

func (al AccountLevelAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccountLevelAttributes) InternalWithRef

type AccountLevelDetailedStatusCodeMetrics

type AccountLevelDetailedStatusCodeMetrics struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type AccountLevelDetailedStatusCodeMetricsAttributes

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

func (AccountLevelDetailedStatusCodeMetricsAttributes) Enabled

func (AccountLevelDetailedStatusCodeMetricsAttributes) InternalRef

func (AccountLevelDetailedStatusCodeMetricsAttributes) InternalTokens

func (AccountLevelDetailedStatusCodeMetricsAttributes) InternalWithRef

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 (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 BucketLevelActivityMetrics

type BucketLevelActivityMetrics struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type BucketLevelActivityMetricsAttributes

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

func (BucketLevelActivityMetricsAttributes) Enabled

func (BucketLevelActivityMetricsAttributes) InternalRef

func (BucketLevelActivityMetricsAttributes) InternalTokens

func (BucketLevelActivityMetricsAttributes) InternalWithRef

type BucketLevelActivityMetricsState

type BucketLevelActivityMetricsState struct {
	Enabled bool `json:"enabled"`
}

type BucketLevelAdvancedCostOptimizationMetrics

type BucketLevelAdvancedCostOptimizationMetrics struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type BucketLevelAdvancedCostOptimizationMetricsAttributes

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

func (BucketLevelAdvancedCostOptimizationMetricsAttributes) Enabled

func (BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalRef

func (BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalTokens

func (BucketLevelAdvancedCostOptimizationMetricsAttributes) InternalWithRef

type BucketLevelAdvancedCostOptimizationMetricsState

type BucketLevelAdvancedCostOptimizationMetricsState struct {
	Enabled bool `json:"enabled"`
}

type BucketLevelAdvancedDataProtectionMetrics

type BucketLevelAdvancedDataProtectionMetrics struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type BucketLevelAdvancedDataProtectionMetricsAttributes

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

func (BucketLevelAdvancedDataProtectionMetricsAttributes) Enabled

func (BucketLevelAdvancedDataProtectionMetricsAttributes) InternalRef

func (BucketLevelAdvancedDataProtectionMetricsAttributes) InternalTokens

func (BucketLevelAdvancedDataProtectionMetricsAttributes) InternalWithRef

type BucketLevelAdvancedDataProtectionMetricsState

type BucketLevelAdvancedDataProtectionMetricsState struct {
	Enabled bool `json:"enabled"`
}

type BucketLevelAttributes

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

func (BucketLevelAttributes) ActivityMetrics

func (BucketLevelAttributes) AdvancedCostOptimizationMetrics

func (BucketLevelAttributes) AdvancedDataProtectionMetrics

func (BucketLevelAttributes) DetailedStatusCodeMetrics

func (BucketLevelAttributes) InternalRef

func (bl BucketLevelAttributes) InternalRef() (terra.Reference, error)

func (BucketLevelAttributes) InternalTokens

func (bl BucketLevelAttributes) InternalTokens() (hclwrite.Tokens, error)

func (BucketLevelAttributes) InternalWithRef

func (BucketLevelAttributes) PrefixLevel

type BucketLevelDetailedStatusCodeMetrics

type BucketLevelDetailedStatusCodeMetrics struct {
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
}

type BucketLevelDetailedStatusCodeMetricsAttributes

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

func (BucketLevelDetailedStatusCodeMetricsAttributes) Enabled

func (BucketLevelDetailedStatusCodeMetricsAttributes) InternalRef

func (BucketLevelDetailedStatusCodeMetricsAttributes) InternalTokens

func (BucketLevelDetailedStatusCodeMetricsAttributes) InternalWithRef

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 CloudWatchMetrics struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type CloudWatchMetricsAttributes

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

func (CloudWatchMetricsAttributes) Enabled

func (CloudWatchMetricsAttributes) InternalRef

func (cwm CloudWatchMetricsAttributes) InternalRef() (terra.Reference, error)

func (CloudWatchMetricsAttributes) InternalTokens

func (cwm CloudWatchMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (CloudWatchMetricsAttributes) InternalWithRef

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 (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

type DataExportState

type DataExportState struct {
	CloudWatchMetrics   []CloudWatchMetricsState   `json:"cloud_watch_metrics"`
	S3BucketDestination []S3BucketDestinationState `json:"s3_bucket_destination"`
}

type Encryption

type Encryption struct {
	// SseKms: optional
	SseKms *SseKms `hcl:"sse_kms,block"`
	// SseS3: min=0
	SseS3 []SseS3 `hcl:"sse_s3,block" validate:"min=0"`
}

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 (EncryptionAttributes) SseKms

func (EncryptionAttributes) SseS3

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 (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

type ExcludeState

type ExcludeState struct {
	Buckets []string `json:"buckets"`
	Regions []string `json:"regions"`
}

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 (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

type IncludeState

type IncludeState struct {
	Buckets []string `json:"buckets"`
	Regions []string `json:"regions"`
}

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 (PrefixLevelAttributes) StorageMetrics

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 (S3BucketDestinationAttributes) Arn

func (S3BucketDestinationAttributes) Encryption

func (S3BucketDestinationAttributes) Format

func (S3BucketDestinationAttributes) InternalRef

func (sbd S3BucketDestinationAttributes) InternalRef() (terra.Reference, error)

func (S3BucketDestinationAttributes) InternalTokens

func (sbd S3BucketDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (S3BucketDestinationAttributes) InternalWithRef

func (S3BucketDestinationAttributes) OutputSchemaVersion

func (sbd S3BucketDestinationAttributes) OutputSchemaVersion() terra.StringValue

func (S3BucketDestinationAttributes) Prefix

type S3BucketDestinationState

type S3BucketDestinationState struct {
	AccountId           string            `json:"account_id"`
	Arn                 string            `json:"arn"`
	Format              string            `json:"format"`
	OutputSchemaVersion string            `json:"output_schema_version"`
	Prefix              string            `json:"prefix"`
	Encryption          []EncryptionState `json:"encryption"`
}

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 (SelectionCriteriaAttributes) InternalRef

func (sc SelectionCriteriaAttributes) InternalRef() (terra.Reference, error)

func (SelectionCriteriaAttributes) InternalTokens

func (sc SelectionCriteriaAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SelectionCriteriaAttributes) InternalWithRef

func (SelectionCriteriaAttributes) MaxDepth

func (SelectionCriteriaAttributes) MinStorageBytesPercentage

func (sc SelectionCriteriaAttributes) MinStorageBytesPercentage() terra.NumberValue

type SelectionCriteriaState

type SelectionCriteriaState struct {
	Delimiter                 string  `json:"delimiter"`
	MaxDepth                  float64 `json:"max_depth"`
	MinStorageBytesPercentage float64 `json:"min_storage_bytes_percentage"`
}

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 SseS3

type SseS3 struct{}

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 (StorageLensConfigurationAttributes) AwsOrg

func (StorageLensConfigurationAttributes) DataExport

func (StorageLensConfigurationAttributes) Enabled

func (StorageLensConfigurationAttributes) Exclude

func (StorageLensConfigurationAttributes) Include

func (StorageLensConfigurationAttributes) InternalRef

func (StorageLensConfigurationAttributes) InternalTokens

func (slc StorageLensConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageLensConfigurationAttributes) InternalWithRef

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 (StorageMetricsAttributes) InternalRef

func (sm StorageMetricsAttributes) InternalRef() (terra.Reference, error)

func (StorageMetricsAttributes) InternalTokens

func (sm StorageMetricsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (StorageMetricsAttributes) InternalWithRef

func (StorageMetricsAttributes) SelectionCriteria

type StorageMetricsState

type StorageMetricsState struct {
	Enabled           bool                     `json:"enabled"`
	SelectionCriteria []SelectionCriteriaState `json:"selection_criteria"`
}

Jump to

Keyboard shortcuts

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