Skip to content
v2.278.0

ManagedLoggingConfigurationProperty Struct ​

Configuration settings for delivering logs to Amazon S3 buckets.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_athena as athena } from 'aws-cdk-lib';
const managedLoggingConfigurationProperty: athena.CfnWorkGroup.ManagedLoggingConfigurationProperty = {
  enabled: false,
  kmsKey: 'kmsKey',
};
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_athena as athena

managed_logging_configuration_property = athena.CfnWorkGroup.ManagedLoggingConfigurationProperty(
    enabled=False,
    kms_key="kmsKey"
)
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.athena.*;

ManagedLoggingConfigurationProperty managedLoggingConfigurationProperty = ManagedLoggingConfigurationProperty.builder()
        .enabled(false)
        .kmsKey("kmsKey")
        .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.Athena;

var managedLoggingConfigurationProperty = new ManagedLoggingConfigurationProperty {
    Enabled = false,
    KmsKey = "kmsKey"
};
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"

managedLoggingConfigurationProperty := &ManagedLoggingConfigurationProperty{
	Enabled: jsii.Boolean(false),
	KmsKey: jsii.String("kmsKey"),
}

Properties ​

enabledoptionalboolean | IResolvableenabledoptionaltyping.Union[bool, IResolvable]enabledoptionalBooleanEnabledoptionalboolEnabledoptionalinterface{} #
Enables mamanged log persistence.
kmsKeyoptionalstringkms_keyoptionalstrkmsKeyoptionalStringKmsKeyoptionalstringKmsKeyoptional*string #
The KMS key ARN to encrypt the logs stored in managed log persistence.