Versions in this module Expand all Collapse all v5 v5.45.0 Apr 16, 2024 Changes in this version + type Args struct + AccountId terra.StringValue + ConfigId terra.StringValue + Id terra.StringValue + StorageLensConfiguration *StorageLensConfiguration + Tags terra.MapValue[terra.StringValue] + TagsAll terra.MapValue[terra.StringValue] + type Resource struct + Args Args + DependsOn terra.Dependencies + Lifecycle *terra.Lifecycle + Name string + func New(name string, args Args) *Resource + func (asslc *Resource) Attributes() awsS3ControlStorageLensConfigurationAttributes + func (asslc *Resource) Configuration() interface{} + func (asslc *Resource) DependOn() terra.Reference + func (asslc *Resource) Dependencies() terra.Dependencies + func (asslc *Resource) ImportState(state io.Reader) error + func (asslc *Resource) LifecycleManagement() *terra.Lifecycle + func (asslc *Resource) LocalName() string + func (asslc *Resource) State() (*awsS3ControlStorageLensConfigurationState, bool) + func (asslc *Resource) StateMust() *awsS3ControlStorageLensConfigurationState + func (asslc *Resource) Type() string + type StorageLensConfiguration struct + AccountLevel *StorageLensConfigurationAccountLevel + AwsOrg *StorageLensConfigurationAwsOrg + DataExport *StorageLensConfigurationDataExport + Enabled terra.BoolValue + Exclude *StorageLensConfigurationExclude + Include *StorageLensConfigurationInclude + type StorageLensConfigurationAccountLevel struct + ActivityMetrics *StorageLensConfigurationAccountLevelActivityMetrics + BucketLevel *StorageLensConfigurationAccountLevelBucketLevel + type StorageLensConfigurationAccountLevel9Bbce871 struct + Enabled terra.BoolValue + SelectionCriteria *StorageLensConfigurationAccountLevelA3C0Cce3 + type StorageLensConfigurationAccountLevel9Bbce871Attributes struct + func (sm StorageLensConfigurationAccountLevel9Bbce871Attributes) Enabled() terra.BoolValue + func (sm StorageLensConfigurationAccountLevel9Bbce871Attributes) InternalRef() (terra.Reference, error) + func (sm StorageLensConfigurationAccountLevel9Bbce871Attributes) InternalTokens() (hclwrite.Tokens, error) + func (sm StorageLensConfigurationAccountLevel9Bbce871Attributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAccountLevel9Bbce871Attributes + func (sm StorageLensConfigurationAccountLevel9Bbce871Attributes) SelectionCriteria() terra.ListValue[StorageLensConfigurationAccountLevelA3C0Cce3Attributes] + type StorageLensConfigurationAccountLevel9Bbce871State struct + Enabled bool + SelectionCriteria []StorageLensConfigurationAccountLevelA3C0Cce3State + type StorageLensConfigurationAccountLevelA3C0Cce3 struct + Delimiter terra.StringValue + MaxDepth terra.NumberValue + MinStorageBytesPercentage terra.NumberValue + type StorageLensConfigurationAccountLevelA3C0Cce3Attributes struct + func (sc StorageLensConfigurationAccountLevelA3C0Cce3Attributes) Delimiter() terra.StringValue + func (sc StorageLensConfigurationAccountLevelA3C0Cce3Attributes) InternalRef() (terra.Reference, error) + func (sc StorageLensConfigurationAccountLevelA3C0Cce3Attributes) InternalTokens() (hclwrite.Tokens, error) + func (sc StorageLensConfigurationAccountLevelA3C0Cce3Attributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAccountLevelA3C0Cce3Attributes + func (sc StorageLensConfigurationAccountLevelA3C0Cce3Attributes) MaxDepth() terra.NumberValue + func (sc StorageLensConfigurationAccountLevelA3C0Cce3Attributes) MinStorageBytesPercentage() terra.NumberValue + type StorageLensConfigurationAccountLevelA3C0Cce3State struct + Delimiter string + MaxDepth float64 + MinStorageBytesPercentage float64 + type StorageLensConfigurationAccountLevelActivityMetrics struct + Enabled terra.BoolValue + type StorageLensConfigurationAccountLevelActivityMetricsAttributes struct + func (am StorageLensConfigurationAccountLevelActivityMetricsAttributes) Enabled() terra.BoolValue + func (am StorageLensConfigurationAccountLevelActivityMetricsAttributes) InternalRef() (terra.Reference, error) + func (am StorageLensConfigurationAccountLevelActivityMetricsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (am StorageLensConfigurationAccountLevelActivityMetricsAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAccountLevelActivityMetricsAttributes + type StorageLensConfigurationAccountLevelActivityMetricsState struct + Enabled bool + type StorageLensConfigurationAccountLevelAttributes struct + func (al StorageLensConfigurationAccountLevelAttributes) ActivityMetrics() terra.ListValue[StorageLensConfigurationAccountLevelActivityMetricsAttributes] + func (al StorageLensConfigurationAccountLevelAttributes) BucketLevel() terra.ListValue[StorageLensConfigurationAccountLevelBucketLevelAttributes] + func (al StorageLensConfigurationAccountLevelAttributes) InternalRef() (terra.Reference, error) + func (al StorageLensConfigurationAccountLevelAttributes) InternalTokens() (hclwrite.Tokens, error) + func (al StorageLensConfigurationAccountLevelAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAccountLevelAttributes + type StorageLensConfigurationAccountLevelBucketLevel struct + ActivityMetrics *StorageLensConfigurationAccountLevelBucketLevelActivityMetrics + PrefixLevel *StorageLensConfigurationAccountLevelBucketLevelPrefixLevel + type StorageLensConfigurationAccountLevelBucketLevelActivityMetrics struct + Enabled terra.BoolValue + type StorageLensConfigurationAccountLevelBucketLevelActivityMetricsAttributes struct + func (am StorageLensConfigurationAccountLevelBucketLevelActivityMetricsAttributes) Enabled() terra.BoolValue + func (am StorageLensConfigurationAccountLevelBucketLevelActivityMetricsAttributes) InternalRef() (terra.Reference, error) + func (am StorageLensConfigurationAccountLevelBucketLevelActivityMetricsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (am StorageLensConfigurationAccountLevelBucketLevelActivityMetricsAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAccountLevelBucketLevelActivityMetricsAttributes + type StorageLensConfigurationAccountLevelBucketLevelActivityMetricsState struct + Enabled bool + type StorageLensConfigurationAccountLevelBucketLevelAttributes struct + func (bl StorageLensConfigurationAccountLevelBucketLevelAttributes) ActivityMetrics() ... + func (bl StorageLensConfigurationAccountLevelBucketLevelAttributes) InternalRef() (terra.Reference, error) + func (bl StorageLensConfigurationAccountLevelBucketLevelAttributes) InternalTokens() (hclwrite.Tokens, error) + func (bl StorageLensConfigurationAccountLevelBucketLevelAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAccountLevelBucketLevelAttributes + func (bl StorageLensConfigurationAccountLevelBucketLevelAttributes) PrefixLevel() ... + type StorageLensConfigurationAccountLevelBucketLevelPrefixLevel struct + StorageMetrics *StorageLensConfigurationAccountLevel9Bbce871 + type StorageLensConfigurationAccountLevelBucketLevelPrefixLevelAttributes struct + func (pl StorageLensConfigurationAccountLevelBucketLevelPrefixLevelAttributes) InternalRef() (terra.Reference, error) + func (pl StorageLensConfigurationAccountLevelBucketLevelPrefixLevelAttributes) InternalTokens() (hclwrite.Tokens, error) + func (pl StorageLensConfigurationAccountLevelBucketLevelPrefixLevelAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAccountLevelBucketLevelPrefixLevelAttributes + func (pl StorageLensConfigurationAccountLevelBucketLevelPrefixLevelAttributes) StorageMetrics() terra.ListValue[StorageLensConfigurationAccountLevel9Bbce871Attributes] + type StorageLensConfigurationAccountLevelBucketLevelPrefixLevelState struct + StorageMetrics []StorageLensConfigurationAccountLevel9Bbce871State + type StorageLensConfigurationAccountLevelBucketLevelState struct + ActivityMetrics []StorageLensConfigurationAccountLevelBucketLevelActivityMetricsState + PrefixLevel []StorageLensConfigurationAccountLevelBucketLevelPrefixLevelState + type StorageLensConfigurationAccountLevelState struct + ActivityMetrics []StorageLensConfigurationAccountLevelActivityMetricsState + BucketLevel []StorageLensConfigurationAccountLevelBucketLevelState + type StorageLensConfigurationAttributes struct + func (slc StorageLensConfigurationAttributes) AccountLevel() terra.ListValue[StorageLensConfigurationAccountLevelAttributes] + func (slc StorageLensConfigurationAttributes) AwsOrg() terra.ListValue[StorageLensConfigurationAwsOrgAttributes] + func (slc StorageLensConfigurationAttributes) DataExport() terra.ListValue[StorageLensConfigurationDataExportAttributes] + func (slc StorageLensConfigurationAttributes) Enabled() terra.BoolValue + func (slc StorageLensConfigurationAttributes) Exclude() terra.ListValue[StorageLensConfigurationExcludeAttributes] + func (slc StorageLensConfigurationAttributes) Include() terra.ListValue[StorageLensConfigurationIncludeAttributes] + func (slc StorageLensConfigurationAttributes) InternalRef() (terra.Reference, error) + func (slc StorageLensConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (slc StorageLensConfigurationAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAttributes + type StorageLensConfigurationAwsOrg struct + Arn terra.StringValue + type StorageLensConfigurationAwsOrgAttributes struct + func (ao StorageLensConfigurationAwsOrgAttributes) Arn() terra.StringValue + func (ao StorageLensConfigurationAwsOrgAttributes) InternalRef() (terra.Reference, error) + func (ao StorageLensConfigurationAwsOrgAttributes) InternalTokens() (hclwrite.Tokens, error) + func (ao StorageLensConfigurationAwsOrgAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationAwsOrgAttributes + type StorageLensConfigurationAwsOrgState struct + Arn string + type StorageLensConfigurationDataExport struct + CloudWatchMetrics *StorageLensConfigurationDataExportCloudWatchMetrics + S3BucketDestination *StorageLensConfigurationDataExportS3BucketDestination + type StorageLensConfigurationDataExport4Bb2F4E8 struct + type StorageLensConfigurationDataExport4Bb2F4E8Attributes struct + func (ss StorageLensConfigurationDataExport4Bb2F4E8Attributes) InternalRef() (terra.Reference, error) + func (ss StorageLensConfigurationDataExport4Bb2F4E8Attributes) InternalTokens() (hclwrite.Tokens, error) + func (ss StorageLensConfigurationDataExport4Bb2F4E8Attributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationDataExport4Bb2F4E8Attributes + type StorageLensConfigurationDataExport4Bb2F4E8State struct + type StorageLensConfigurationDataExport76990715 struct + KeyId terra.StringValue + type StorageLensConfigurationDataExport76990715Attributes struct + func (sk StorageLensConfigurationDataExport76990715Attributes) InternalRef() (terra.Reference, error) + func (sk StorageLensConfigurationDataExport76990715Attributes) InternalTokens() (hclwrite.Tokens, error) + func (sk StorageLensConfigurationDataExport76990715Attributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationDataExport76990715Attributes + func (sk StorageLensConfigurationDataExport76990715Attributes) KeyId() terra.StringValue + type StorageLensConfigurationDataExport76990715State struct + KeyId string + type StorageLensConfigurationDataExportAttributes struct + func (de StorageLensConfigurationDataExportAttributes) CloudWatchMetrics() terra.ListValue[StorageLensConfigurationDataExportCloudWatchMetricsAttributes] + func (de StorageLensConfigurationDataExportAttributes) InternalRef() (terra.Reference, error) + func (de StorageLensConfigurationDataExportAttributes) InternalTokens() (hclwrite.Tokens, error) + func (de StorageLensConfigurationDataExportAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationDataExportAttributes + func (de StorageLensConfigurationDataExportAttributes) S3BucketDestination() ... + type StorageLensConfigurationDataExportCloudWatchMetrics struct + Enabled terra.BoolValue + type StorageLensConfigurationDataExportCloudWatchMetricsAttributes struct + func (cwm StorageLensConfigurationDataExportCloudWatchMetricsAttributes) Enabled() terra.BoolValue + func (cwm StorageLensConfigurationDataExportCloudWatchMetricsAttributes) InternalRef() (terra.Reference, error) + func (cwm StorageLensConfigurationDataExportCloudWatchMetricsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (cwm StorageLensConfigurationDataExportCloudWatchMetricsAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationDataExportCloudWatchMetricsAttributes + type StorageLensConfigurationDataExportCloudWatchMetricsState struct + Enabled bool + type StorageLensConfigurationDataExportS3BucketDestination struct + AccountId terra.StringValue + Arn terra.StringValue + Encryption *StorageLensConfigurationDataExportS3BucketDestinationEncryption + Format terra.StringValue + OutputSchemaVersion terra.StringValue + Prefix terra.StringValue + type StorageLensConfigurationDataExportS3BucketDestinationAttributes struct + func (sbd StorageLensConfigurationDataExportS3BucketDestinationAttributes) AccountId() terra.StringValue + func (sbd StorageLensConfigurationDataExportS3BucketDestinationAttributes) Arn() terra.StringValue + func (sbd StorageLensConfigurationDataExportS3BucketDestinationAttributes) Encryption() ... + func (sbd StorageLensConfigurationDataExportS3BucketDestinationAttributes) Format() terra.StringValue + func (sbd StorageLensConfigurationDataExportS3BucketDestinationAttributes) InternalRef() (terra.Reference, error) + func (sbd StorageLensConfigurationDataExportS3BucketDestinationAttributes) InternalTokens() (hclwrite.Tokens, error) + func (sbd StorageLensConfigurationDataExportS3BucketDestinationAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationDataExportS3BucketDestinationAttributes + func (sbd StorageLensConfigurationDataExportS3BucketDestinationAttributes) OutputSchemaVersion() terra.StringValue + func (sbd StorageLensConfigurationDataExportS3BucketDestinationAttributes) Prefix() terra.StringValue + type StorageLensConfigurationDataExportS3BucketDestinationEncryption struct + SseKms *StorageLensConfigurationDataExport76990715 + SseS3 []StorageLensConfigurationDataExport4Bb2F4E8 + type StorageLensConfigurationDataExportS3BucketDestinationEncryptionAttributes struct + func (e StorageLensConfigurationDataExportS3BucketDestinationEncryptionAttributes) InternalRef() (terra.Reference, error) + func (e StorageLensConfigurationDataExportS3BucketDestinationEncryptionAttributes) InternalTokens() (hclwrite.Tokens, error) + func (e StorageLensConfigurationDataExportS3BucketDestinationEncryptionAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationDataExportS3BucketDestinationEncryptionAttributes + func (e StorageLensConfigurationDataExportS3BucketDestinationEncryptionAttributes) SseKms() terra.ListValue[StorageLensConfigurationDataExport76990715Attributes] + func (e StorageLensConfigurationDataExportS3BucketDestinationEncryptionAttributes) SseS3() terra.ListValue[StorageLensConfigurationDataExport4Bb2F4E8Attributes] + type StorageLensConfigurationDataExportS3BucketDestinationEncryptionState struct + SseKms []StorageLensConfigurationDataExport76990715State + SseS3 []StorageLensConfigurationDataExport4Bb2F4E8State + type StorageLensConfigurationDataExportS3BucketDestinationState struct + AccountId string + Arn string + Encryption []StorageLensConfigurationDataExportS3BucketDestinationEncryptionState + Format string + OutputSchemaVersion string + Prefix string + type StorageLensConfigurationDataExportState struct + CloudWatchMetrics []StorageLensConfigurationDataExportCloudWatchMetricsState + S3BucketDestination []StorageLensConfigurationDataExportS3BucketDestinationState + type StorageLensConfigurationExclude struct + Buckets terra.SetValue[terra.StringValue] + Regions terra.SetValue[terra.StringValue] + type StorageLensConfigurationExcludeAttributes struct + func (e StorageLensConfigurationExcludeAttributes) Buckets() terra.SetValue[terra.StringValue] + func (e StorageLensConfigurationExcludeAttributes) InternalRef() (terra.Reference, error) + func (e StorageLensConfigurationExcludeAttributes) InternalTokens() (hclwrite.Tokens, error) + func (e StorageLensConfigurationExcludeAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationExcludeAttributes + func (e StorageLensConfigurationExcludeAttributes) Regions() terra.SetValue[terra.StringValue] + type StorageLensConfigurationExcludeState struct + Buckets []string + Regions []string + type StorageLensConfigurationInclude struct + Buckets terra.SetValue[terra.StringValue] + Regions terra.SetValue[terra.StringValue] + type StorageLensConfigurationIncludeAttributes struct + func (i StorageLensConfigurationIncludeAttributes) Buckets() terra.SetValue[terra.StringValue] + func (i StorageLensConfigurationIncludeAttributes) InternalRef() (terra.Reference, error) + func (i StorageLensConfigurationIncludeAttributes) InternalTokens() (hclwrite.Tokens, error) + func (i StorageLensConfigurationIncludeAttributes) InternalWithRef(ref terra.Reference) StorageLensConfigurationIncludeAttributes + func (i StorageLensConfigurationIncludeAttributes) Regions() terra.SetValue[terra.StringValue] + type StorageLensConfigurationIncludeState struct + Buckets []string + Regions []string + type StorageLensConfigurationState struct + AccountLevel []StorageLensConfigurationAccountLevelState + AwsOrg []StorageLensConfigurationAwsOrgState + DataExport []StorageLensConfigurationDataExportState + Enabled bool + Exclude []StorageLensConfigurationExcludeState + Include []StorageLensConfigurationIncludeState