CapacityProviderTelemetryConfigProperty Struct
Configuration that specifies the telemetry collection for the capacity provider.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_lambda as lambda } from 'aws-cdk-lib';
const capacityProviderTelemetryConfigProperty: lambda.CfnCapacityProvider.CapacityProviderTelemetryConfigProperty = {
loggingConfig: {
logGroup: 'logGroup',
systemLogLevel: 'systemLogLevel',
},
};
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_lambda as lambda_
capacity_provider_telemetry_config_property = lambda.CfnCapacityProvider.CapacityProviderTelemetryConfigProperty(
logging_config=lambda.CfnCapacityProvider.CapacityProviderLoggingConfigProperty(
log_group="logGroup",
system_log_level="systemLogLevel"
)
)
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.lambda.*;
CapacityProviderTelemetryConfigProperty capacityProviderTelemetryConfigProperty = CapacityProviderTelemetryConfigProperty.builder()
.loggingConfig(CapacityProviderLoggingConfigProperty.builder()
.logGroup("logGroup")
.systemLogLevel("systemLogLevel")
.build())
.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.Lambda;
var capacityProviderTelemetryConfigProperty = new CapacityProviderTelemetryConfigProperty {
LoggingConfig = new CapacityProviderLoggingConfigProperty {
LogGroup = "logGroup",
SystemLogLevel = "systemLogLevel"
}
};
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"
capacityProviderTelemetryConfigProperty := &CapacityProviderTelemetryConfigProperty{
LoggingConfig: &CapacityProviderLoggingConfigProperty{
LogGroup: jsii.String("logGroup"),
SystemLogLevel: jsii.String("systemLogLevel"),
},
}
Properties
loggingConfigoptionalIResolvable | CfnCapacityProvider.CapacityProviderLoggingConfigPropertylogging_configoptionaltyping.Union[IResolvable, CapacityProviderLoggingConfigProperty]loggingConfigoptionalIResolvableLoggingConfigoptionalIResolvableLoggingConfigoptionalinterface{}#The capacity provider's Amazon CloudWatch Logs configuration settings.