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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.resiliencehub.ResiliencyPolicy

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const resiliencyPolicyResource = new aws_native.resiliencehub.ResiliencyPolicy("resiliencyPolicyResource", {
        policy: {
            az: {
                rpoInSecs: 0,
                rtoInSecs: 0,
            },
            hardware: {
                rpoInSecs: 0,
                rtoInSecs: 0,
            },
            software: {
                rpoInSecs: 0,
                rtoInSecs: 0,
            },
            region: {
                rpoInSecs: 0,
                rtoInSecs: 0,
            },
        },
        tier: aws_native.resiliencehub.ResiliencyPolicyTier.MissionCritical,
        dataLocationConstraint: aws_native.resiliencehub.ResiliencyPolicyDataLocationConstraint.AnyLocation,
        policyDescription: "string",
        policyName: "string",
        tags: {
            string: "string",
        },
    });
    
    Coming soon!
    

    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

    The ResiliencyPolicy resource accepts the following input properties:

    Policy Pulumi.AwsNative.ResilienceHub.Inputs.ResiliencyPolicyPolicyMap
    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>
    Policy ResiliencyPolicyPolicyMapArgs
    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
    policy ResiliencyPolicyPolicyMap
    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>
    policy ResiliencyPolicyPolicyMap
    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}
    policy ResiliencyPolicyPolicyMapArgs
    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]
    policy Property Map
    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>

    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

    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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi