Interface CfnOrganizationCentralizationRule.CentralizationRuleProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOrganizationCentralizationRule.CentralizationRuleProperty.Jsii$Proxy
- Enclosing class:
CfnOrganizationCentralizationRule
@Stability(Stable)
public static interface CfnOrganizationCentralizationRule.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.services.observabilityadmin.*;
CentralizationRuleProperty centralizationRuleProperty = CentralizationRuleProperty.builder()
.destination(CentralizationRuleDestinationProperty.builder()
.region("region")
// the properties below are optional
.account("account")
.destinationLogsConfiguration(DestinationLogsConfigurationProperty.builder()
.backupConfiguration(LogsBackupConfigurationProperty.builder()
.region("region")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.build())
.logsEncryptionConfiguration(LogsEncryptionConfigurationProperty.builder()
.encryptionStrategy("encryptionStrategy")
// the properties below are optional
.encryptionConflictResolutionStrategy("encryptionConflictResolutionStrategy")
.kmsKeyArn("kmsKeyArn")
.build())
.build())
.build())
.source(CentralizationRuleSourceProperty.builder()
.regions(List.of("regions"))
// the properties below are optional
.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 forCfnOrganizationCentralizationRule.CentralizationRuleProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Configuration determining where the telemetry data should be centralized, backed up, as well as encryption configuration for the primary and backup destinations.Configuration 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
IResolvableorCfnOrganizationCentralizationRule.CentralizationRuleDestinationProperty- See Also:
-
getSource
Configuration determining the source of the telemetry data to be centralized.Returns union: either
IResolvableorCfnOrganizationCentralizationRule.CentralizationRuleSourceProperty- See Also:
-
builder
@Stability(Stable) static CfnOrganizationCentralizationRule.CentralizationRuleProperty.Builder builder()
-