Interface CfnOrganizationCentralizationRuleProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnOrganizationCentralizationRuleProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:44.153Z")
@Stability(Stable)
public interface CfnOrganizationCentralizationRuleProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnOrganizationCentralizationRule.
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.*;
CfnOrganizationCentralizationRuleProps cfnOrganizationCentralizationRuleProps = CfnOrganizationCentralizationRuleProps.builder()
.rule(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())
.ruleName("ruleName")
// the properties below are optional
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnOrganizationCentralizationRulePropsstatic final classAn implementation forCfnOrganizationCentralizationRuleProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()getRule()Returns union: eitherIResolvableorCfnOrganizationCentralizationRule.CentralizationRulePropertyThe name of the organization centralization rule.getTags()A key-value pair to filter resources based on tags associated with the resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getRule
Returns union: eitherIResolvableorCfnOrganizationCentralizationRule.CentralizationRuleProperty- See Also:
-
getRuleName
The name of the organization centralization rule.- See Also:
-
getTags
A key-value pair to filter resources based on tags associated with the resource.For more information about tags, see What are tags?
- See Also:
-
builder
-