Documentation
¶
Index ¶
- type AccountLevel
- type ActivityMetrics
- type AdvancedCostOptimizationMetrics
- type AdvancedDataProtectionMetrics
- type AwsOrg
- type BucketLevel
- type BucketsAndRegions
- type CloudWatchMetrics
- type DataExport
- type DetailedStatusCodesMetrics
- type Encryption
- type PrefixLevel
- type PrefixLevelStorageMetrics
- type Resource
- type S3BucketDestination
- type SSEKMS
- type SelectionCriteria
- type StorageLensConfiguration
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountLevel ¶
type AccountLevel struct { ActivityMetrics *ActivityMetrics `json:"ActivityMetrics,omitempty"` AdvancedCostOptimizationMetrics *AdvancedCostOptimizationMetrics `json:"AdvancedCostOptimizationMetrics,omitempty"` AdvancedDataProtectionMetrics *AdvancedDataProtectionMetrics `json:"AdvancedDataProtectionMetrics,omitempty"` BucketLevel *BucketLevel `json:"BucketLevel"` DetailedStatusCodesMetrics *DetailedStatusCodesMetrics `json:"DetailedStatusCodesMetrics,omitempty"` }
AccountLevel Account-level metrics configurations.
func (*AccountLevel) MarshalJSON ¶
func (strct *AccountLevel) MarshalJSON() ([]byte, error)
func (*AccountLevel) UnmarshalJSON ¶
func (strct *AccountLevel) UnmarshalJSON(b []byte) error
type ActivityMetrics ¶
type ActivityMetrics struct { // Specifies whether activity metrics are enabled or disabled. IsEnabled bool `json:"IsEnabled,omitempty"` }
ActivityMetrics Enables activity metrics.
func (*ActivityMetrics) MarshalJSON ¶
func (strct *ActivityMetrics) MarshalJSON() ([]byte, error)
func (*ActivityMetrics) UnmarshalJSON ¶
func (strct *ActivityMetrics) UnmarshalJSON(b []byte) error
type AdvancedCostOptimizationMetrics ¶
type AdvancedCostOptimizationMetrics struct { // Specifies whether advanced cost optimization metrics are enabled or disabled. IsEnabled bool `json:"IsEnabled,omitempty"` }
AdvancedCostOptimizationMetrics Enables advanced cost optimization metrics.
func (*AdvancedCostOptimizationMetrics) MarshalJSON ¶
func (strct *AdvancedCostOptimizationMetrics) MarshalJSON() ([]byte, error)
func (*AdvancedCostOptimizationMetrics) UnmarshalJSON ¶
func (strct *AdvancedCostOptimizationMetrics) UnmarshalJSON(b []byte) error
type AdvancedDataProtectionMetrics ¶
type AdvancedDataProtectionMetrics struct { // Specifies whether advanced data protection metrics are enabled or disabled. IsEnabled bool `json:"IsEnabled,omitempty"` }
AdvancedDataProtectionMetrics Enables advanced data protection metrics.
func (*AdvancedDataProtectionMetrics) MarshalJSON ¶
func (strct *AdvancedDataProtectionMetrics) MarshalJSON() ([]byte, error)
func (*AdvancedDataProtectionMetrics) UnmarshalJSON ¶
func (strct *AdvancedDataProtectionMetrics) UnmarshalJSON(b []byte) error
type AwsOrg ¶
type AwsOrg struct {
Arn string `json:"Arn"`
}
AwsOrg The AWS Organizations ARN to use in the Amazon S3 Storage Lens configuration.
func (*AwsOrg) MarshalJSON ¶
func (*AwsOrg) UnmarshalJSON ¶
type BucketLevel ¶
type BucketLevel struct { ActivityMetrics *ActivityMetrics `json:"ActivityMetrics,omitempty"` AdvancedCostOptimizationMetrics *AdvancedCostOptimizationMetrics `json:"AdvancedCostOptimizationMetrics,omitempty"` AdvancedDataProtectionMetrics *AdvancedDataProtectionMetrics `json:"AdvancedDataProtectionMetrics,omitempty"` DetailedStatusCodesMetrics *DetailedStatusCodesMetrics `json:"DetailedStatusCodesMetrics,omitempty"` PrefixLevel *PrefixLevel `json:"PrefixLevel,omitempty"` }
BucketLevel Bucket-level metrics configurations.
func (*BucketLevel) MarshalJSON ¶
func (strct *BucketLevel) MarshalJSON() ([]byte, error)
func (*BucketLevel) UnmarshalJSON ¶
func (strct *BucketLevel) UnmarshalJSON(b []byte) error
type BucketsAndRegions ¶
type BucketsAndRegions struct { Buckets []string `json:"Buckets,omitempty"` Regions []string `json:"Regions,omitempty"` }
BucketsAndRegions S3 buckets and Regions to include/exclude in the Amazon S3 Storage Lens configuration.
func (*BucketsAndRegions) MarshalJSON ¶
func (strct *BucketsAndRegions) MarshalJSON() ([]byte, error)
func (*BucketsAndRegions) UnmarshalJSON ¶
func (strct *BucketsAndRegions) UnmarshalJSON(b []byte) error
type CloudWatchMetrics ¶
type CloudWatchMetrics struct { // Specifies whether CloudWatch metrics are enabled or disabled. IsEnabled bool `json:"IsEnabled"` }
CloudWatchMetrics CloudWatch metrics settings for the Amazon S3 Storage Lens metrics export.
func (*CloudWatchMetrics) MarshalJSON ¶
func (strct *CloudWatchMetrics) MarshalJSON() ([]byte, error)
func (*CloudWatchMetrics) UnmarshalJSON ¶
func (strct *CloudWatchMetrics) UnmarshalJSON(b []byte) error
type DataExport ¶
type DataExport struct { CloudWatchMetrics *CloudWatchMetrics `json:"CloudWatchMetrics,omitempty"` S3BucketDestination *S3BucketDestination `json:"S3BucketDestination,omitempty"` }
DataExport Specifies how Amazon S3 Storage Lens metrics should be exported.
func (*DataExport) MarshalJSON ¶
func (strct *DataExport) MarshalJSON() ([]byte, error)
func (*DataExport) UnmarshalJSON ¶
func (strct *DataExport) UnmarshalJSON(b []byte) error
type DetailedStatusCodesMetrics ¶
type DetailedStatusCodesMetrics struct { // Specifies whether detailed status codes metrics are enabled or disabled. IsEnabled bool `json:"IsEnabled,omitempty"` }
DetailedStatusCodesMetrics Enables detailed status codes metrics.
func (*DetailedStatusCodesMetrics) MarshalJSON ¶
func (strct *DetailedStatusCodesMetrics) MarshalJSON() ([]byte, error)
func (*DetailedStatusCodesMetrics) UnmarshalJSON ¶
func (strct *DetailedStatusCodesMetrics) UnmarshalJSON(b []byte) error
type Encryption ¶
type Encryption struct { }
Encryption Configures the server-side encryption for Amazon S3 Storage Lens report files with either S3-managed keys (SSE-S3) or KMS-managed keys (SSE-KMS).
type PrefixLevel ¶
type PrefixLevel struct {
StorageMetrics *PrefixLevelStorageMetrics `json:"StorageMetrics"`
}
PrefixLevel Prefix-level metrics configurations.
func (*PrefixLevel) MarshalJSON ¶
func (strct *PrefixLevel) MarshalJSON() ([]byte, error)
func (*PrefixLevel) UnmarshalJSON ¶
func (strct *PrefixLevel) UnmarshalJSON(b []byte) error
type PrefixLevelStorageMetrics ¶
type PrefixLevelStorageMetrics struct { // Specifies whether prefix-level storage metrics are enabled or disabled. IsEnabled bool `json:"IsEnabled,omitempty"` SelectionCriteria *SelectionCriteria `json:"SelectionCriteria,omitempty"` }
PrefixLevelStorageMetrics
func (*PrefixLevelStorageMetrics) MarshalJSON ¶
func (strct *PrefixLevelStorageMetrics) MarshalJSON() ([]byte, error)
func (*PrefixLevelStorageMetrics) UnmarshalJSON ¶
func (strct *PrefixLevelStorageMetrics) UnmarshalJSON(b []byte) error
type Resource ¶
type Resource struct { StorageLensConfiguration *StorageLensConfiguration `json:"StorageLensConfiguration"` // A set of tags (key-value pairs) for this Amazon S3 Storage Lens configuration. Tags []*Tag `json:"Tags,omitempty"` }
Resource The AWS::S3::StorageLens resource is an Amazon S3 resource type that you can use to create Storage Lens configurations.
func (*Resource) MarshalJSON ¶
func (*Resource) UnmarshalJSON ¶
type S3BucketDestination ¶
type S3BucketDestination struct { // The AWS account ID that owns the destination S3 bucket. AccountId string `json:"AccountId"` // The ARN of the bucket to which Amazon S3 Storage Lens exports will be placed. Arn string `json:"Arn"` Encryption *Encryption `json:"Encryption,omitempty"` // Specifies the file format to use when exporting Amazon S3 Storage Lens metrics export. Format string `json:"Format"` // The version of the output schema to use when exporting Amazon S3 Storage Lens metrics. OutputSchemaVersion string `json:"OutputSchemaVersion"` // The prefix to use for Amazon S3 Storage Lens export. Prefix string `json:"Prefix,omitempty"` }
S3BucketDestination S3 bucket destination settings for the Amazon S3 Storage Lens metrics export.
func (*S3BucketDestination) MarshalJSON ¶
func (strct *S3BucketDestination) MarshalJSON() ([]byte, error)
func (*S3BucketDestination) UnmarshalJSON ¶
func (strct *S3BucketDestination) UnmarshalJSON(b []byte) error
type SSEKMS ¶
type SSEKMS struct { // The ARN of the KMS key to use for encryption. KeyId string `json:"KeyId"` }
SSEKMS AWS KMS server-side encryption.
func (*SSEKMS) MarshalJSON ¶
func (*SSEKMS) UnmarshalJSON ¶
type SelectionCriteria ¶
type SelectionCriteria struct { // Delimiter to divide S3 key into hierarchy of prefixes. Delimiter string `json:"Delimiter,omitempty"` // Max depth of prefixes of S3 key that Amazon S3 Storage Lens will analyze. MaxDepth int `json:"MaxDepth,omitempty"` // The minimum storage bytes threshold for the prefixes to be included in the analysis. MinStorageBytesPercentage float64 `json:"MinStorageBytesPercentage,omitempty"` }
SelectionCriteria Selection criteria for prefix-level metrics.
func (*SelectionCriteria) MarshalJSON ¶
func (strct *SelectionCriteria) MarshalJSON() ([]byte, error)
func (*SelectionCriteria) UnmarshalJSON ¶
func (strct *SelectionCriteria) UnmarshalJSON(b []byte) error
type StorageLensConfiguration ¶
type StorageLensConfiguration struct { AccountLevel *AccountLevel `json:"AccountLevel"` AwsOrg *AwsOrg `json:"AwsOrg,omitempty"` DataExport *DataExport `json:"DataExport,omitempty"` Exclude *BucketsAndRegions `json:"Exclude,omitempty"` Id string `json:"Id"` Include *BucketsAndRegions `json:"Include,omitempty"` // Specifies whether the Amazon S3 Storage Lens configuration is enabled or disabled. IsEnabled bool `json:"IsEnabled"` // The ARN for the Amazon S3 Storage Lens configuration. StorageLensArn string `json:"StorageLensArn,omitempty"` }
StorageLensConfiguration Specifies the details of Amazon S3 Storage Lens configuration.
func (*StorageLensConfiguration) MarshalJSON ¶
func (strct *StorageLensConfiguration) MarshalJSON() ([]byte, error)
func (*StorageLensConfiguration) UnmarshalJSON ¶
func (strct *StorageLensConfiguration) UnmarshalJSON(b []byte) error