1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. resiliencehub
  5. ResiliencyPolicy

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.resiliencehub.ResiliencyPolicy

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource Type Definition for Resiliency Policy.

    Create ResiliencyPolicy Resource

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

    Constructor syntax

    new ResiliencyPolicy(name: string, args: ResiliencyPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def ResiliencyPolicy(resource_name: str,
                         args: ResiliencyPolicyArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def ResiliencyPolicy(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         policy: Optional[ResiliencyPolicyPolicyMapArgs] = None,
                         tier: Optional[ResiliencyPolicyTier] = None,
                         data_location_constraint: Optional[ResiliencyPolicyDataLocationConstraint] = None,
                         policy_description: Optional[str] = None,
                         policy_name: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewResiliencyPolicy(ctx *Context, name string, args ResiliencyPolicyArgs, opts ...ResourceOption) (*ResiliencyPolicy, error)
    public ResiliencyPolicy(string name, ResiliencyPolicyArgs args, CustomResourceOptions? opts = null)
    public ResiliencyPolicy(String name, ResiliencyPolicyArgs args)
    public ResiliencyPolicy(String name, ResiliencyPolicyArgs args, CustomResourceOptions options)
    
    type: aws-native:resiliencehub:ResiliencyPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ResiliencyPolicyArgs
    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 ResiliencyPolicyArgs
    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 ResiliencyPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ResiliencyPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ResiliencyPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ResiliencyPolicy 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 ResiliencyPolicy resource accepts the following input properties:

    Policy Pulumi.AwsNative.ResilienceHub.Inputs.ResiliencyPolicyPolicyMap
    The resiliency policy.
    Tier Pulumi.AwsNative.ResilienceHub.ResiliencyPolicyTier
    Resiliency Policy Tier.
    DataLocationConstraint Pulumi.AwsNative.ResilienceHub.ResiliencyPolicyDataLocationConstraint
    Data Location Constraint of the Policy.
    PolicyDescription string
    Description of Resiliency Policy.
    PolicyName string
    Name of Resiliency Policy.
    Tags Dictionary<string, string>
    Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
    Policy ResiliencyPolicyPolicyMapArgs
    The resiliency policy.
    Tier ResiliencyPolicyTier
    Resiliency Policy Tier.
    DataLocationConstraint ResiliencyPolicyDataLocationConstraint
    Data Location Constraint of the Policy.
    PolicyDescription string
    Description of Resiliency Policy.
    PolicyName string
    Name of Resiliency Policy.
    Tags map[string]string
    Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
    policy ResiliencyPolicyPolicyMap
    The resiliency policy.
    tier ResiliencyPolicyTier
    Resiliency Policy Tier.
    dataLocationConstraint ResiliencyPolicyDataLocationConstraint
    Data Location Constraint of the Policy.
    policyDescription String
    Description of Resiliency Policy.
    policyName String
    Name of Resiliency Policy.
    tags Map<String,String>
    Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
    policy ResiliencyPolicyPolicyMap
    The resiliency policy.
    tier ResiliencyPolicyTier
    Resiliency Policy Tier.
    dataLocationConstraint ResiliencyPolicyDataLocationConstraint
    Data Location Constraint of the Policy.
    policyDescription string
    Description of Resiliency Policy.
    policyName string
    Name of Resiliency Policy.
    tags {[key: string]: string}
    Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
    policy ResiliencyPolicyPolicyMapArgs
    The resiliency policy.
    tier ResiliencyPolicyTier
    Resiliency Policy Tier.
    data_location_constraint ResiliencyPolicyDataLocationConstraint
    Data Location Constraint of the Policy.
    policy_description str
    Description of Resiliency Policy.
    policy_name str
    Name of Resiliency Policy.
    tags Mapping[str, str]
    Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.
    policy Property Map
    The resiliency policy.
    tier "MissionCritical" | "Critical" | "Important" | "CoreServices" | "NonCritical"
    Resiliency Policy Tier.
    dataLocationConstraint "AnyLocation" | "SameContinent" | "SameCountry"
    Data Location Constraint of the Policy.
    policyDescription String
    Description of Resiliency Policy.
    policyName String
    Name of Resiliency Policy.
    tags Map<String>
    Tags assigned to the resource. A tag is a label that you assign to an AWS resource. Each tag consists of a key/value pair.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyArn string
    Amazon Resource Name (ARN) of the Resiliency Policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    PolicyArn string
    Amazon Resource Name (ARN) of the Resiliency Policy.
    id String
    The provider-assigned unique ID for this managed resource.
    policyArn String
    Amazon Resource Name (ARN) of the Resiliency Policy.
    id string
    The provider-assigned unique ID for this managed resource.
    policyArn string
    Amazon Resource Name (ARN) of the Resiliency Policy.
    id str
    The provider-assigned unique ID for this managed resource.
    policy_arn str
    Amazon Resource Name (ARN) of the Resiliency Policy.
    id String
    The provider-assigned unique ID for this managed resource.
    policyArn String
    Amazon Resource Name (ARN) of the Resiliency Policy.

    Supporting Types

    ResiliencyPolicyDataLocationConstraint, ResiliencyPolicyDataLocationConstraintArgs

    AnyLocation
    AnyLocation
    SameContinent
    SameContinent
    SameCountry
    SameCountry
    ResiliencyPolicyDataLocationConstraintAnyLocation
    AnyLocation
    ResiliencyPolicyDataLocationConstraintSameContinent
    SameContinent
    ResiliencyPolicyDataLocationConstraintSameCountry
    SameCountry
    AnyLocation
    AnyLocation
    SameContinent
    SameContinent
    SameCountry
    SameCountry
    AnyLocation
    AnyLocation
    SameContinent
    SameContinent
    SameCountry
    SameCountry
    ANY_LOCATION
    AnyLocation
    SAME_CONTINENT
    SameContinent
    SAME_COUNTRY
    SameCountry
    "AnyLocation"
    AnyLocation
    "SameContinent"
    SameContinent
    "SameCountry"
    SameCountry

    ResiliencyPolicyFailurePolicy, ResiliencyPolicyFailurePolicyArgs

    RpoInSecs int
    RPO in seconds.
    RtoInSecs int
    RTO in seconds.
    RpoInSecs int
    RPO in seconds.
    RtoInSecs int
    RTO in seconds.
    rpoInSecs Integer
    RPO in seconds.
    rtoInSecs Integer
    RTO in seconds.
    rpoInSecs number
    RPO in seconds.
    rtoInSecs number
    RTO in seconds.
    rpo_in_secs int
    RPO in seconds.
    rto_in_secs int
    RTO in seconds.
    rpoInSecs Number
    RPO in seconds.
    rtoInSecs Number
    RTO in seconds.

    ResiliencyPolicyPolicyMap, ResiliencyPolicyPolicyMapArgs

    Az Pulumi.AwsNative.ResilienceHub.Inputs.ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Availability Zone disruption.
    Hardware Pulumi.AwsNative.ResilienceHub.Inputs.ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for hardware disruption.
    Software Pulumi.AwsNative.ResilienceHub.Inputs.ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for software disruption.
    Region Pulumi.AwsNative.ResilienceHub.Inputs.ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Regional disruption.
    Az ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Availability Zone disruption.
    Hardware ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for hardware disruption.
    Software ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for software disruption.
    Region ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Regional disruption.
    az ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Availability Zone disruption.
    hardware ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for hardware disruption.
    software ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for software disruption.
    region ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Regional disruption.
    az ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Availability Zone disruption.
    hardware ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for hardware disruption.
    software ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for software disruption.
    region ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Regional disruption.
    az ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Availability Zone disruption.
    hardware ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for hardware disruption.
    software ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for software disruption.
    region ResiliencyPolicyFailurePolicy
    Defines the RTO and RPO targets for Regional disruption.
    az Property Map
    Defines the RTO and RPO targets for Availability Zone disruption.
    hardware Property Map
    Defines the RTO and RPO targets for hardware disruption.
    software Property Map
    Defines the RTO and RPO targets for software disruption.
    region Property Map
    Defines the RTO and RPO targets for Regional disruption.

    ResiliencyPolicyTier, ResiliencyPolicyTierArgs

    MissionCritical
    MissionCritical
    Critical
    Critical
    Important
    Important
    CoreServices
    CoreServices
    NonCritical
    NonCritical
    ResiliencyPolicyTierMissionCritical
    MissionCritical
    ResiliencyPolicyTierCritical
    Critical
    ResiliencyPolicyTierImportant
    Important
    ResiliencyPolicyTierCoreServices
    CoreServices
    ResiliencyPolicyTierNonCritical
    NonCritical
    MissionCritical
    MissionCritical
    Critical
    Critical
    Important
    Important
    CoreServices
    CoreServices
    NonCritical
    NonCritical
    MissionCritical
    MissionCritical
    Critical
    Critical
    Important
    Important
    CoreServices
    CoreServices
    NonCritical
    NonCritical
    MISSION_CRITICAL
    MissionCritical
    CRITICAL
    Critical
    IMPORTANT
    Important
    CORE_SERVICES
    CoreServices
    NON_CRITICAL
    NonCritical
    "MissionCritical"
    MissionCritical
    "Critical"
    Critical
    "Important"
    Important
    "CoreServices"
    CoreServices
    "NonCritical"
    NonCritical

    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.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi