CfnOrganizationCentralizationRuleProps

class aws_cdk.aws_observabilityadmin.CfnOrganizationCentralizationRuleProps(*, rule, rule_name, tags=None)

Bases: object

Properties for defining a CfnOrganizationCentralizationRule.

Parameters:
  • rule (Union[IResolvable, CentralizationRuleProperty, Dict[str, Any]])

  • rule_name (str) – The name of the organization centralization rule.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A key-value pair to filter resources based on tags associated with the resource. For more information about tags, see What are tags?

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationcentralizationrule.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_observabilityadmin as observabilityadmin

cfn_organization_centralization_rule_props = observabilityadmin.CfnOrganizationCentralizationRuleProps(
    rule=observabilityadmin.CfnOrganizationCentralizationRule.CentralizationRuleProperty(
        destination=observabilityadmin.CfnOrganizationCentralizationRule.CentralizationRuleDestinationProperty(
            region="region",

            # the properties below are optional
            account="account",
            destination_logs_configuration=observabilityadmin.CfnOrganizationCentralizationRule.DestinationLogsConfigurationProperty(
                backup_configuration=observabilityadmin.CfnOrganizationCentralizationRule.LogsBackupConfigurationProperty(
                    region="region",

                    # the properties below are optional
                    kms_key_arn="kmsKeyArn"
                ),
                logs_encryption_configuration=observabilityadmin.CfnOrganizationCentralizationRule.LogsEncryptionConfigurationProperty(
                    encryption_strategy="encryptionStrategy",

                    # the properties below are optional
                    encryption_conflict_resolution_strategy="encryptionConflictResolutionStrategy",
                    kms_key_arn="kmsKeyArn"
                )
            )
        ),
        source=observabilityadmin.CfnOrganizationCentralizationRule.CentralizationRuleSourceProperty(
            regions=["regions"],

            # the properties below are optional
            scope="scope",
            source_logs_configuration=observabilityadmin.CfnOrganizationCentralizationRule.SourceLogsConfigurationProperty(
                encrypted_log_group_strategy="encryptedLogGroupStrategy",
                log_group_selection_criteria="logGroupSelectionCriteria"
            )
        )
    ),
    rule_name="ruleName",

    # the properties below are optional
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

rule

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationcentralizationrule.html#cfn-observabilityadmin-organizationcentralizationrule-rule

Type:

see

rule_name

The name of the organization centralization rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationcentralizationrule.html#cfn-observabilityadmin-organizationcentralizationrule-rulename

tags

A key-value pair to filter resources based on tags associated with the resource.

For more information about tags, see What are tags?

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-observabilityadmin-organizationcentralizationrule.html#cfn-observabilityadmin-organizationcentralizationrule-tags