# LogsBackupConfigurationProperty

Configuration for backing up centralized log data to a secondary region.

- Source: Generated at build time
- Type last changed: v2.220.0 · 14 Oct 2025

## Example

TypeScript:

```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:

```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:

```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();
```

C# / .NET:

```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"
};
```

Golang:

```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

- `kmsKeyArn`: string — KMS Key ARN belonging to the primary destination account and backup region, to encrypt newly created central log groups in the backup destination.

- `region`: string (required) — Logs specific backup destination region within the primary destination account to which log data should be centralized.
