LogsBackupConfigurationProperty Struct
Configuration for backing up centralized log data to a secondary region.
| 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_observabilityadmin as observabilityadmin } from 'aws-cdk-lib';
const logsBackupConfigurationProperty: observabilityadmin.CfnOrganizationCentralizationRule.LogsBackupConfigurationProperty = {
region: 'region',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
};
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_observabilityadmin as observabilityadmin
logs_backup_configuration_property = observabilityadmin.CfnOrganizationCentralizationRule.LogsBackupConfigurationProperty(
region="region",
# the properties below are optional
kms_key_arn="kmsKeyArn"
)
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.observabilityadmin.*;
LogsBackupConfigurationProperty logsBackupConfigurationProperty = LogsBackupConfigurationProperty.builder()
.region("region")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.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.ObservabilityAdmin;
var logsBackupConfigurationProperty = new LogsBackupConfigurationProperty {
Region = "region",
// the properties below are optional
KmsKeyArn = "kmsKeyArn"
};
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"
logsBackupConfigurationProperty := &LogsBackupConfigurationProperty{
Region: jsii.String("region"),
// the properties below are optional
KmsKeyArn: jsii.String("kmsKeyArn"),
}
Properties
kmsKeyArnoptionalstringkms_key_arnoptionalstrkmsKeyArnoptionalStringKmsKeyArnoptionalstringKmsKeyArnoptional*string #KMS Key ARN belonging to the primary destination account and backup region, to encrypt newly created central log groups in the backup destination.
Logs specific backup destination region within the primary destination account to which log data should be centralized.