Class CfnOrganizationCentralizationRule
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.observabilityadmin.CfnOrganizationCentralizationRule
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IOrganizationCentralizationRuleRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-12-01T16:02:25.139Z")
@Stability(Stable)
public class CfnOrganizationCentralizationRule
extends CfnResource
implements IInspectable, IOrganizationCentralizationRuleRef, ITaggableV2
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.*;
CfnOrganizationCentralizationRule cfnOrganizationCentralizationRule = CfnOrganizationCentralizationRule.Builder.create(this, "MyCfnOrganizationCentralizationRule")
.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 TypeClassDescriptionstatic final classA fluent builder forCfnOrganizationCentralizationRule.static interfaceConfiguration specifying the primary destination for centralized telemetry data.static interfaceDefines how telemetry data should be centralized across an AWS Organization, including source and destination configurations.static interfaceConfiguration specifying the source of telemetry data to be centralized.static interfaceConfiguration for centralization destination log groups, including encryption and backup settings.static interfaceConfiguration for backing up centralized log data to a secondary region.static interfaceConfiguration for encrypting centralized log groups.static interfaceConfiguration for selecting and handling source log groups for centralization.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.observabilityadmin.IOrganizationCentralizationRuleRef
IOrganizationCentralizationRuleRef.Jsii$Default, IOrganizationCentralizationRuleRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnOrganizationCentralizationRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnOrganizationCentralizationRule(software.amazon.jsii.JsiiObjectRef objRef) CfnOrganizationCentralizationRule(software.constructs.Construct scope, String id, CfnOrganizationCentralizationRuleProps props) Create a newAWS::ObservabilityAdmin::OrganizationCentralizationRule. -
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the organization centralization rule.Tag Manager which manages the tags for this resource.A reference to a OrganizationCentralizationRule resource.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.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnOrganizationCentralizationRule.renderProperties(Map<String, Object> props) voidsetRule(IResolvable value) voidvoidsetRuleName(String value) The name of the organization centralization rule.voidA key-value pair to filter resources based on tags associated with the resource.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnOrganizationCentralizationRule
protected CfnOrganizationCentralizationRule(software.amazon.jsii.JsiiObjectRef objRef) -
CfnOrganizationCentralizationRule
protected CfnOrganizationCentralizationRule(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnOrganizationCentralizationRule
@Stability(Stable) public CfnOrganizationCentralizationRule(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnOrganizationCentralizationRuleProps props) Create a newAWS::ObservabilityAdmin::OrganizationCentralizationRule.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnOrganizationCentralizationRule
@Stability(Stable) @NotNull public static Boolean isCfnOrganizationCentralizationRule(@NotNull Object x) Checks whether the given object is a CfnOrganizationCentralizationRule.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrRuleArn
The Amazon Resource Name (ARN) of the organization centralization rule. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getOrganizationCentralizationRuleRef
@Stability(Stable) @NotNull public OrganizationCentralizationRuleReference getOrganizationCentralizationRuleRef()A reference to a OrganizationCentralizationRule resource.- Specified by:
getOrganizationCentralizationRuleRefin interfaceIOrganizationCentralizationRuleRef
-
getRule
Returns union: eitherIResolvableorCfnOrganizationCentralizationRule.CentralizationRuleProperty -
setRule
-
setRule
@Stability(Stable) public void setRule(@NotNull CfnOrganizationCentralizationRule.CentralizationRuleProperty value) -
getRuleName
The name of the organization centralization rule. -
setRuleName
The name of the organization centralization rule. -
getTags
A key-value pair to filter resources based on tags associated with the resource. -
setTags
A key-value pair to filter resources based on tags associated with the resource.
-