Interface CfnOrganizationCentralizationRulePropsMixin.CentralizationRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOrganizationCentralizationRulePropsMixin.CentralizationRuleProperty.Jsii$Proxy
- Enclosing class:
CfnOrganizationCentralizationRulePropsMixin
@Stability(Stable)
public static interface CfnOrganizationCentralizationRulePropsMixin.CentralizationRuleProperty
extends software.amazon.jsii.JsiiSerializable
Defines how telemetry data should be centralized across an AWS Organization, including source and destination configurations.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.observabilityadmin.*;
CentralizationRuleProperty centralizationRuleProperty = CentralizationRuleProperty.builder()
.destination(CentralizationRuleDestinationProperty.builder()
.account("account")
.destinationLogsConfiguration(DestinationLogsConfigurationProperty.builder()
.backupConfiguration(LogsBackupConfigurationProperty.builder()
.kmsKeyArn("kmsKeyArn")
.region("region")
.build())
.logGroupNameConfiguration(LogGroupNameConfigurationProperty.builder()
.logGroupNamePattern("logGroupNamePattern")
.build())
.logsEncryptionConfiguration(LogsEncryptionConfigurationProperty.builder()
.encryptionConflictResolutionStrategy("encryptionConflictResolutionStrategy")
.encryptionStrategy("encryptionStrategy")
.kmsKeyArn("kmsKeyArn")
.build())
.build())
.region("region")
.build())
.source(CentralizationRuleSourceProperty.builder()
.regions(List.of("regions"))
.scope("scope")
.sourceLogsConfiguration(SourceLogsConfigurationProperty.builder()
.encryptedLogGroupStrategy("encryptedLogGroupStrategy")
.logGroupSelectionCriteria("logGroupSelectionCriteria")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnOrganizationCentralizationRulePropsMixin.CentralizationRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConfiguration determining where the telemetry data should be centralized, backed up, as well as encryption configuration for the primary and backup destinations.default ObjectConfiguration determining the source of the telemetry data to be centralized.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDestination
Configuration determining where the telemetry data should be centralized, backed up, as well as encryption configuration for the primary and backup destinations.Returns union: either
IResolvableorCfnOrganizationCentralizationRulePropsMixin.CentralizationRuleDestinationProperty- See Also:
-
getSource
Configuration determining the source of the telemetry data to be centralized.Returns union: either
IResolvableorCfnOrganizationCentralizationRulePropsMixin.CentralizationRuleSourceProperty- See Also:
-
builder
@Stability(Stable) static CfnOrganizationCentralizationRulePropsMixin.CentralizationRuleProperty.Builder builder()
-