CfnPolicyMixinProps

class aws_cdk.cfn_property_mixins.aws_resiliencehubv2.CfnPolicyMixinProps(*, availability_slo=None, data_recovery=None, description=None, kms_key_id=None, multi_az=None, multi_region=None, name=None, tags=None)

Bases: object

Properties for CfnPolicyPropsMixin.

Parameters:
See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-policy.html

ExampleMetadata:

fixture=_generated

Example:

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

cfn_policy_mixin_props = resiliencehubv2.CfnPolicyMixinProps(
    availability_slo=resiliencehubv2.CfnPolicyPropsMixin.AvailabilitySloProperty(
        target=123
    ),
    data_recovery=resiliencehubv2.CfnPolicyPropsMixin.DataRecoveryTargetsProperty(
        time_between_backups_in_minutes=123
    ),
    description="description",
    kms_key_id="kmsKeyId",
    multi_az=resiliencehubv2.CfnPolicyPropsMixin.MultiAzTargetsProperty(
        disaster_recovery_approach="disasterRecoveryApproach",
        rpo_in_minutes=123,
        rto_in_minutes=123
    ),
    multi_region=resiliencehubv2.CfnPolicyPropsMixin.MultiRegionTargetsProperty(
        disaster_recovery_approach="disasterRecoveryApproach",
        rpo_in_minutes=123,
        rto_in_minutes=123
    ),
    name="name",
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

availability_slo

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-policy.html#cfn-resiliencehubv2-policy-availabilityslo

Type:

see

data_recovery

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-policy.html#cfn-resiliencehubv2-policy-datarecovery

Type:

see

description

The description of the policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-policy.html#cfn-resiliencehubv2-policy-description

kms_key_id

The KMS key ID for encrypting policy data.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-policy.html#cfn-resiliencehubv2-policy-kmskeyid

multi_az

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-policy.html#cfn-resiliencehubv2-policy-multiaz

Type:

see

multi_region

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-policy.html#cfn-resiliencehubv2-policy-multiregion

Type:

see

name

The name of the policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehubv2-policy.html#cfn-resiliencehubv2-policy-name

tags

Tags assigned to the policy.

See:

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