// 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 centralizationRuleProperty: observabilityadmin.CfnOrganizationCentralizationRule.CentralizationRuleProperty = {
destination: {
region: 'region',
// the properties below are optional
account: 'account',
destinationLogsConfiguration: {
backupConfiguration: {
region: 'region',
// the properties below are optional
kmsKeyArn: 'kmsKeyArn',
},
logsEncryptionConfiguration: {
encryptionStrategy: 'encryptionStrategy',
// the properties below are optional
encryptionConflictResolutionStrategy: 'encryptionConflictResolutionStrategy',
kmsKeyArn: 'kmsKeyArn',
},
},
},
source: {
regions: ['regions'],
// the properties below are optional
scope: 'scope',
sourceLogsConfiguration: {
encryptedLogGroupStrategy: 'encryptedLogGroupStrategy',
logGroupSelectionCriteria: 'logGroupSelectionCriteria',
},
},
};