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, sharing_enabled=None, tags=None)

Bases: object

Properties for CfnPolicyPropsMixin.

Parameters:
  • availability_slo (Union[IResolvable, AvailabilitySloProperty, Dict[str, Any], None])

  • data_recovery (Union[IResolvable, DataRecoveryTargetsProperty, Dict[str, Any], None])

  • description (Optional[str]) – The description of the policy.

  • kms_key_id (Optional[str]) – The KMS key ID for encrypting policy data.

  • multi_az (Union[IResolvable, MultiAzTargetsProperty, Dict[str, Any], None])

  • multi_region (Union[IResolvable, MultiRegionTargetsProperty, Dict[str, Any], None])

  • name (Optional[str]) – The name of the policy.

  • sharing_enabled (Union[bool, IResolvable, None]) – Whether the policy is enabled to be shared with other members of the Organization. Only applicable if the policy owner is a management account or delegated admin. Default: - false

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – Tags assigned to the policy.

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",
    sharing_enabled=False,
    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

sharing_enabled

Whether the policy is enabled to be shared with other members of the Organization.

Only applicable if the policy owner is a management account or delegated admin.

Default:
  • false

See:

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

tags

Tags assigned to the policy.

See:

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