1. Packages
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. resiliencehubv2
  6. Policy

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi
aws-native logo

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.69.0
published on Monday, Jun 15, 2026 by Pulumi

    Creates a resilience policy that defines availability and disaster recovery requirements.

    Create Policy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Policy(name: string, args?: PolicyArgs, opts?: CustomResourceOptions);
    @overload
    def Policy(resource_name: str,
               args: Optional[PolicyArgs] = None,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Policy(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               availability_slo: Optional[PolicyAvailabilitySloArgs] = None,
               data_recovery: Optional[PolicyDataRecoveryTargetsArgs] = None,
               description: Optional[str] = None,
               kms_key_id: Optional[str] = None,
               multi_az: Optional[PolicyMultiAzTargetsArgs] = None,
               multi_region: Optional[PolicyMultiRegionTargetsArgs] = None,
               name: Optional[str] = None,
               tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewPolicy(ctx *Context, name string, args *PolicyArgs, opts ...ResourceOption) (*Policy, error)
    public Policy(string name, PolicyArgs? args = null, CustomResourceOptions? opts = null)
    public Policy(String name, PolicyArgs args)
    public Policy(String name, PolicyArgs args, CustomResourceOptions options)
    
    type: aws-native:resiliencehubv2:Policy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_resiliencehubv2_policy" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Policy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Policy resource accepts the following input properties:

    AvailabilitySlo PolicyAvailabilitySloArgs
    DataRecovery PolicyDataRecoveryTargetsArgs
    Description string
    The description of the policy.
    KmsKeyId string
    The KMS key ID for encrypting policy data.
    MultiAz PolicyMultiAzTargetsArgs
    MultiRegion PolicyMultiRegionTargetsArgs
    Name string
    The name of the policy.
    Tags TagArgs
    Tags assigned to the policy.
    availability_slo object
    data_recovery object
    description string
    The description of the policy.
    kms_key_id string
    The KMS key ID for encrypting policy data.
    multi_az object
    multi_region object
    name string
    The name of the policy.
    tags list(object)
    Tags assigned to the policy.
    availabilitySlo PolicyAvailabilitySlo
    dataRecovery PolicyDataRecoveryTargets
    description String
    The description of the policy.
    kmsKeyId String
    The KMS key ID for encrypting policy data.
    multiAz PolicyMultiAzTargets
    multiRegion PolicyMultiRegionTargets
    name String
    The name of the policy.
    tags List<Tag>
    Tags assigned to the policy.
    availabilitySlo PolicyAvailabilitySlo
    dataRecovery PolicyDataRecoveryTargets
    description string
    The description of the policy.
    kmsKeyId string
    The KMS key ID for encrypting policy data.
    multiAz PolicyMultiAzTargets
    multiRegion PolicyMultiRegionTargets
    name string
    The name of the policy.
    tags Tag[]
    Tags assigned to the policy.
    availability_slo PolicyAvailabilitySloArgs
    data_recovery PolicyDataRecoveryTargetsArgs
    description str
    The description of the policy.
    kms_key_id str
    The KMS key ID for encrypting policy data.
    multi_az PolicyMultiAzTargetsArgs
    multi_region PolicyMultiRegionTargetsArgs
    name str
    The name of the policy.
    tags Sequence[TagArgs]
    Tags assigned to the policy.
    availabilitySlo Property Map
    dataRecovery Property Map
    description String
    The description of the policy.
    kmsKeyId String
    The KMS key ID for encrypting policy data.
    multiAz Property Map
    multiRegion Property Map
    name String
    The name of the policy.
    tags List<Property Map>
    Tags assigned to the policy.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Policy resource produces the following output properties:

    AssociatedServiceCount int
    The number of services associated with this policy.
    CreatedAt string
    The timestamp when the policy was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyArn string
    The ARN of the policy.
    UpdatedAt string
    The timestamp when the policy was last updated.
    AssociatedServiceCount int
    The number of services associated with this policy.
    CreatedAt string
    The timestamp when the policy was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyArn string
    The ARN of the policy.
    UpdatedAt string
    The timestamp when the policy was last updated.
    associated_service_count number
    The number of services associated with this policy.
    created_at string
    The timestamp when the policy was created.
    id string
    The provider-assigned unique ID for this managed resource.
    policy_arn string
    The ARN of the policy.
    updated_at string
    The timestamp when the policy was last updated.
    associatedServiceCount Integer
    The number of services associated with this policy.
    createdAt String
    The timestamp when the policy was created.
    id String
    The provider-assigned unique ID for this managed resource.
    policyArn String
    The ARN of the policy.
    updatedAt String
    The timestamp when the policy was last updated.
    associatedServiceCount number
    The number of services associated with this policy.
    createdAt string
    The timestamp when the policy was created.
    id string
    The provider-assigned unique ID for this managed resource.
    policyArn string
    The ARN of the policy.
    updatedAt string
    The timestamp when the policy was last updated.
    associated_service_count int
    The number of services associated with this policy.
    created_at str
    The timestamp when the policy was created.
    id str
    The provider-assigned unique ID for this managed resource.
    policy_arn str
    The ARN of the policy.
    updated_at str
    The timestamp when the policy was last updated.
    associatedServiceCount Number
    The number of services associated with this policy.
    createdAt String
    The timestamp when the policy was created.
    id String
    The provider-assigned unique ID for this managed resource.
    policyArn String
    The ARN of the policy.
    updatedAt String
    The timestamp when the policy was last updated.

    Supporting Types

    PolicyAvailabilitySlo, PolicyAvailabilitySloArgs

    Target double
    Availability target percentage.
    Target float64
    Availability target percentage.
    target number
    Availability target percentage.
    target Double
    Availability target percentage.
    target number
    Availability target percentage.
    target float
    Availability target percentage.
    target Number
    Availability target percentage.

    PolicyDataRecoveryTargets, PolicyDataRecoveryTargetsArgs

    TimeBetweenBackupsInMinutes int
    Time between backups in minutes.
    TimeBetweenBackupsInMinutes int
    Time between backups in minutes.
    time_between_backups_in_minutes number
    Time between backups in minutes.
    timeBetweenBackupsInMinutes Integer
    Time between backups in minutes.
    timeBetweenBackupsInMinutes number
    Time between backups in minutes.
    time_between_backups_in_minutes int
    Time between backups in minutes.
    timeBetweenBackupsInMinutes Number
    Time between backups in minutes.

    PolicyMultiAzTargets, PolicyMultiAzTargetsArgs

    DisasterRecoveryApproach Pulumi.AwsNative.ResilienceHubV2.PolicyMultiAzTargetsDisasterRecoveryApproach
    Multi-AZ disaster recovery approach.
    RpoInMinutes int
    Recovery Point Objective in minutes.
    RtoInMinutes int
    Recovery Time Objective in minutes.
    DisasterRecoveryApproach PolicyMultiAzTargetsDisasterRecoveryApproach
    Multi-AZ disaster recovery approach.
    RpoInMinutes int
    Recovery Point Objective in minutes.
    RtoInMinutes int
    Recovery Time Objective in minutes.
    disaster_recovery_approach "ACTIVE_ACTIVE" | "HOT_STANDBY" | "WARM_STANDBY" | "PILOT_LIGHT" | "BACKUP_AND_RESTORE"
    Multi-AZ disaster recovery approach.
    rpo_in_minutes number
    Recovery Point Objective in minutes.
    rto_in_minutes number
    Recovery Time Objective in minutes.
    disasterRecoveryApproach PolicyMultiAzTargetsDisasterRecoveryApproach
    Multi-AZ disaster recovery approach.
    rpoInMinutes Integer
    Recovery Point Objective in minutes.
    rtoInMinutes Integer
    Recovery Time Objective in minutes.
    disasterRecoveryApproach PolicyMultiAzTargetsDisasterRecoveryApproach
    Multi-AZ disaster recovery approach.
    rpoInMinutes number
    Recovery Point Objective in minutes.
    rtoInMinutes number
    Recovery Time Objective in minutes.
    disaster_recovery_approach PolicyMultiAzTargetsDisasterRecoveryApproach
    Multi-AZ disaster recovery approach.
    rpo_in_minutes int
    Recovery Point Objective in minutes.
    rto_in_minutes int
    Recovery Time Objective in minutes.
    disasterRecoveryApproach "ACTIVE_ACTIVE" | "HOT_STANDBY" | "WARM_STANDBY" | "PILOT_LIGHT" | "BACKUP_AND_RESTORE"
    Multi-AZ disaster recovery approach.
    rpoInMinutes Number
    Recovery Point Objective in minutes.
    rtoInMinutes Number
    Recovery Time Objective in minutes.

    PolicyMultiAzTargetsDisasterRecoveryApproach, PolicyMultiAzTargetsDisasterRecoveryApproachArgs

    ActiveActive
    ACTIVE_ACTIVE
    HotStandby
    HOT_STANDBY
    WarmStandby
    WARM_STANDBY
    PilotLight
    PILOT_LIGHT
    BackupAndRestore
    BACKUP_AND_RESTORE
    PolicyMultiAzTargetsDisasterRecoveryApproachActiveActive
    ACTIVE_ACTIVE
    PolicyMultiAzTargetsDisasterRecoveryApproachHotStandby
    HOT_STANDBY
    PolicyMultiAzTargetsDisasterRecoveryApproachWarmStandby
    WARM_STANDBY
    PolicyMultiAzTargetsDisasterRecoveryApproachPilotLight
    PILOT_LIGHT
    PolicyMultiAzTargetsDisasterRecoveryApproachBackupAndRestore
    BACKUP_AND_RESTORE
    "ACTIVE_ACTIVE"
    ACTIVE_ACTIVE
    "HOT_STANDBY"
    HOT_STANDBY
    "WARM_STANDBY"
    WARM_STANDBY
    "PILOT_LIGHT"
    PILOT_LIGHT
    "BACKUP_AND_RESTORE"
    BACKUP_AND_RESTORE
    ActiveActive
    ACTIVE_ACTIVE
    HotStandby
    HOT_STANDBY
    WarmStandby
    WARM_STANDBY
    PilotLight
    PILOT_LIGHT
    BackupAndRestore
    BACKUP_AND_RESTORE
    ActiveActive
    ACTIVE_ACTIVE
    HotStandby
    HOT_STANDBY
    WarmStandby
    WARM_STANDBY
    PilotLight
    PILOT_LIGHT
    BackupAndRestore
    BACKUP_AND_RESTORE
    ACTIVE_ACTIVE
    ACTIVE_ACTIVE
    HOT_STANDBY
    HOT_STANDBY
    WARM_STANDBY
    WARM_STANDBY
    PILOT_LIGHT
    PILOT_LIGHT
    BACKUP_AND_RESTORE
    BACKUP_AND_RESTORE
    "ACTIVE_ACTIVE"
    ACTIVE_ACTIVE
    "HOT_STANDBY"
    HOT_STANDBY
    "WARM_STANDBY"
    WARM_STANDBY
    "PILOT_LIGHT"
    PILOT_LIGHT
    "BACKUP_AND_RESTORE"
    BACKUP_AND_RESTORE

    PolicyMultiRegionTargets, PolicyMultiRegionTargetsArgs

    DisasterRecoveryApproach Pulumi.AwsNative.ResilienceHubV2.PolicyMultiRegionTargetsDisasterRecoveryApproach
    Multi-Region disaster recovery approach.
    RpoInMinutes int
    Recovery Point Objective in minutes.
    RtoInMinutes int
    Recovery Time Objective in minutes.
    DisasterRecoveryApproach PolicyMultiRegionTargetsDisasterRecoveryApproach
    Multi-Region disaster recovery approach.
    RpoInMinutes int
    Recovery Point Objective in minutes.
    RtoInMinutes int
    Recovery Time Objective in minutes.
    disaster_recovery_approach "ACTIVE_ACTIVE" | "HOT_STANDBY" | "WARM_STANDBY" | "PILOT_LIGHT" | "BACKUP_AND_RESTORE"
    Multi-Region disaster recovery approach.
    rpo_in_minutes number
    Recovery Point Objective in minutes.
    rto_in_minutes number
    Recovery Time Objective in minutes.
    disasterRecoveryApproach PolicyMultiRegionTargetsDisasterRecoveryApproach
    Multi-Region disaster recovery approach.
    rpoInMinutes Integer
    Recovery Point Objective in minutes.
    rtoInMinutes Integer
    Recovery Time Objective in minutes.
    disasterRecoveryApproach PolicyMultiRegionTargetsDisasterRecoveryApproach
    Multi-Region disaster recovery approach.
    rpoInMinutes number
    Recovery Point Objective in minutes.
    rtoInMinutes number
    Recovery Time Objective in minutes.
    disaster_recovery_approach PolicyMultiRegionTargetsDisasterRecoveryApproach
    Multi-Region disaster recovery approach.
    rpo_in_minutes int
    Recovery Point Objective in minutes.
    rto_in_minutes int
    Recovery Time Objective in minutes.
    disasterRecoveryApproach "ACTIVE_ACTIVE" | "HOT_STANDBY" | "WARM_STANDBY" | "PILOT_LIGHT" | "BACKUP_AND_RESTORE"
    Multi-Region disaster recovery approach.
    rpoInMinutes Number
    Recovery Point Objective in minutes.
    rtoInMinutes Number
    Recovery Time Objective in minutes.

    PolicyMultiRegionTargetsDisasterRecoveryApproach, PolicyMultiRegionTargetsDisasterRecoveryApproachArgs

    ActiveActive
    ACTIVE_ACTIVE
    HotStandby
    HOT_STANDBY
    WarmStandby
    WARM_STANDBY
    PilotLight
    PILOT_LIGHT
    BackupAndRestore
    BACKUP_AND_RESTORE
    PolicyMultiRegionTargetsDisasterRecoveryApproachActiveActive
    ACTIVE_ACTIVE
    PolicyMultiRegionTargetsDisasterRecoveryApproachHotStandby
    HOT_STANDBY
    PolicyMultiRegionTargetsDisasterRecoveryApproachWarmStandby
    WARM_STANDBY
    PolicyMultiRegionTargetsDisasterRecoveryApproachPilotLight
    PILOT_LIGHT
    PolicyMultiRegionTargetsDisasterRecoveryApproachBackupAndRestore
    BACKUP_AND_RESTORE
    "ACTIVE_ACTIVE"
    ACTIVE_ACTIVE
    "HOT_STANDBY"
    HOT_STANDBY
    "WARM_STANDBY"
    WARM_STANDBY
    "PILOT_LIGHT"
    PILOT_LIGHT
    "BACKUP_AND_RESTORE"
    BACKUP_AND_RESTORE
    ActiveActive
    ACTIVE_ACTIVE
    HotStandby
    HOT_STANDBY
    WarmStandby
    WARM_STANDBY
    PilotLight
    PILOT_LIGHT
    BackupAndRestore
    BACKUP_AND_RESTORE
    ActiveActive
    ACTIVE_ACTIVE
    HotStandby
    HOT_STANDBY
    WarmStandby
    WARM_STANDBY
    PilotLight
    PILOT_LIGHT
    BackupAndRestore
    BACKUP_AND_RESTORE
    ACTIVE_ACTIVE
    ACTIVE_ACTIVE
    HOT_STANDBY
    HOT_STANDBY
    WARM_STANDBY
    WARM_STANDBY
    PILOT_LIGHT
    PILOT_LIGHT
    BACKUP_AND_RESTORE
    BACKUP_AND_RESTORE
    "ACTIVE_ACTIVE"
    ACTIVE_ACTIVE
    "HOT_STANDBY"
    HOT_STANDBY
    "WARM_STANDBY"
    WARM_STANDBY
    "PILOT_LIGHT"
    PILOT_LIGHT
    "BACKUP_AND_RESTORE"
    BACKUP_AND_RESTORE

    Tag, TagArgs

    A set of tags to apply to the resource.
    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.69.0
    published on Monday, Jun 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial