AdvancedPerformanceMetricsProperty Struct
A property for S3 Storage Lens advanced performance metrics.
Advanced performance metrics provide insights into application performance such as access patterns and network originality metrics.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_s3 as s3 } from 'aws-cdk-lib';
const advancedPerformanceMetricsProperty: s3.CfnStorageLens.AdvancedPerformanceMetricsProperty = {
isEnabled: false,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_s3 as s3
advanced_performance_metrics_property = s3.CfnStorageLens.AdvancedPerformanceMetricsProperty(
is_enabled=False
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.s3.*;
AdvancedPerformanceMetricsProperty advancedPerformanceMetricsProperty = AdvancedPerformanceMetricsProperty.builder()
.isEnabled(false)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.S3;
var advancedPerformanceMetricsProperty = new AdvancedPerformanceMetricsProperty {
IsEnabled = false
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
advancedPerformanceMetricsProperty := &AdvancedPerformanceMetricsProperty{
IsEnabled: jsii.Boolean(false),
}
Properties
isEnabledoptionalboolean | IResolvableis_enabledoptionaltyping.Union[bool, IResolvable]isEnabledoptionalBooleanIsEnabledoptionalboolIsEnabledoptionalinterface{} #This property indicates whether the advanced performance metrics are enabled.