1. Packages
  2. AWS
  3. API Docs
  4. resiliencehub
  5. ResiliencyPolicy
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.resiliencehub.ResiliencyPolicy

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    Resource for managing an AWS Resilience Hub Resiliency Policy.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      example:
        type: aws:resiliencehub:ResiliencyPolicy
        properties:
          policyName: testexample
          policyDescription: testexample
          tier: NonCritical
          dataLocationConstraint: AnyLocation
          policy:
            - region:
                - rpo: 24h
                  rto: 24h
              az:
                - rpo: 24h
                  rto: 24h
              hardware:
                - rpo: 24h
                  rto: 24h
              software:
                - rpo: 24h
                  rto: 24h
    

    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,
                         tier: Optional[str] = None,
                         data_location_constraint: Optional[str] = None,
                         description: Optional[str] = None,
                         name: Optional[str] = None,
                         policy: Optional[ResiliencyPolicyPolicyArgs] = None,
                         tags: Optional[Mapping[str, str]] = None,
                         timeouts: Optional[ResiliencyPolicyTimeoutsArgs] = 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: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.

    Constructor example

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

    var resiliencyPolicyResource = new Aws.ResilienceHub.ResiliencyPolicy("resiliencyPolicyResource", new()
    {
        Tier = "string",
        DataLocationConstraint = "string",
        Description = "string",
        Name = "string",
        Policy = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicyArgs
        {
            Az = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicyAzArgs
            {
                Rpo = "string",
                Rto = "string",
            },
            Hardware = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicyHardwareArgs
            {
                Rpo = "string",
                Rto = "string",
            },
            Region = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicyRegionArgs
            {
                Rpo = "string",
                Rto = "string",
            },
            Software = new Aws.ResilienceHub.Inputs.ResiliencyPolicyPolicySoftwareArgs
            {
                Rpo = "string",
                Rto = "string",
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
        Timeouts = new Aws.ResilienceHub.Inputs.ResiliencyPolicyTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := resiliencehub.NewResiliencyPolicy(ctx, "resiliencyPolicyResource", &resiliencehub.ResiliencyPolicyArgs{
    	Tier:                   pulumi.String("string"),
    	DataLocationConstraint: pulumi.String("string"),
    	Description:            pulumi.String("string"),
    	Name:                   pulumi.String("string"),
    	Policy: &resiliencehub.ResiliencyPolicyPolicyArgs{
    		Az: &resiliencehub.ResiliencyPolicyPolicyAzArgs{
    			Rpo: pulumi.String("string"),
    			Rto: pulumi.String("string"),
    		},
    		Hardware: &resiliencehub.ResiliencyPolicyPolicyHardwareArgs{
    			Rpo: pulumi.String("string"),
    			Rto: pulumi.String("string"),
    		},
    		Region: &resiliencehub.ResiliencyPolicyPolicyRegionArgs{
    			Rpo: pulumi.String("string"),
    			Rto: pulumi.String("string"),
    		},
    		Software: &resiliencehub.ResiliencyPolicyPolicySoftwareArgs{
    			Rpo: pulumi.String("string"),
    			Rto: pulumi.String("string"),
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Timeouts: &resiliencehub.ResiliencyPolicyTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var resiliencyPolicyResource = new ResiliencyPolicy("resiliencyPolicyResource", ResiliencyPolicyArgs.builder()
        .tier("string")
        .dataLocationConstraint("string")
        .description("string")
        .name("string")
        .policy(ResiliencyPolicyPolicyArgs.builder()
            .az(ResiliencyPolicyPolicyAzArgs.builder()
                .rpo("string")
                .rto("string")
                .build())
            .hardware(ResiliencyPolicyPolicyHardwareArgs.builder()
                .rpo("string")
                .rto("string")
                .build())
            .region(ResiliencyPolicyPolicyRegionArgs.builder()
                .rpo("string")
                .rto("string")
                .build())
            .software(ResiliencyPolicyPolicySoftwareArgs.builder()
                .rpo("string")
                .rto("string")
                .build())
            .build())
        .tags(Map.of("string", "string"))
        .timeouts(ResiliencyPolicyTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    resiliency_policy_resource = aws.resiliencehub.ResiliencyPolicy("resiliencyPolicyResource",
        tier="string",
        data_location_constraint="string",
        description="string",
        name="string",
        policy={
            "az": {
                "rpo": "string",
                "rto": "string",
            },
            "hardware": {
                "rpo": "string",
                "rto": "string",
            },
            "region": {
                "rpo": "string",
                "rto": "string",
            },
            "software": {
                "rpo": "string",
                "rto": "string",
            },
        },
        tags={
            "string": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const resiliencyPolicyResource = new aws.resiliencehub.ResiliencyPolicy("resiliencyPolicyResource", {
        tier: "string",
        dataLocationConstraint: "string",
        description: "string",
        name: "string",
        policy: {
            az: {
                rpo: "string",
                rto: "string",
            },
            hardware: {
                rpo: "string",
                rto: "string",
            },
            region: {
                rpo: "string",
                rto: "string",
            },
            software: {
                rpo: "string",
                rto: "string",
            },
        },
        tags: {
            string: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: aws:resiliencehub:ResiliencyPolicy
    properties:
        dataLocationConstraint: string
        description: string
        name: string
        policy:
            az:
                rpo: string
                rto: string
            hardware:
                rpo: string
                rto: string
            region:
                rpo: string
                rto: string
            software:
                rpo: string
                rto: string
        tags:
            string: string
        tier: string
        timeouts:
            create: string
            delete: string
            update: string
    

    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:

    Tier string
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    DataLocationConstraint string
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    Description string
    Description of Resiliency Policy.
    Name string
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    Policy ResiliencyPolicyPolicy

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    Tags Dictionary<string, string>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts ResiliencyPolicyTimeouts
    Tier string
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    DataLocationConstraint string
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    Description string
    Description of Resiliency Policy.
    Name string
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    Policy ResiliencyPolicyPolicyArgs

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    Tags map[string]string
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Timeouts ResiliencyPolicyTimeoutsArgs
    tier String
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    dataLocationConstraint String
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    description String
    Description of Resiliency Policy.
    name String
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    policy ResiliencyPolicyPolicy

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    tags Map<String,String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts ResiliencyPolicyTimeouts
    tier string
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    dataLocationConstraint string
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    description string
    Description of Resiliency Policy.
    name string
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    policy ResiliencyPolicyPolicy

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    tags {[key: string]: string}
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts ResiliencyPolicyTimeouts
    tier str
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    data_location_constraint str
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    description str
    Description of Resiliency Policy.
    name str
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    policy ResiliencyPolicyPolicyArgs

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    tags Mapping[str, str]
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts ResiliencyPolicyTimeoutsArgs
    tier String
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    dataLocationConstraint String
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    description String
    Description of Resiliency Policy.
    name String
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    policy Property Map

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    tags Map<String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    timeouts Property Map

    Outputs

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

    Arn string
    ARN of the Resiliency Policy.
    EstimatedCostTier string
    Estimated Cost Tier of the Resiliency Policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Arn string
    ARN of the Resiliency Policy.
    EstimatedCostTier string
    Estimated Cost Tier of the Resiliency Policy.
    Id string
    The provider-assigned unique ID for this managed resource.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the Resiliency Policy.
    estimatedCostTier String
    Estimated Cost Tier of the Resiliency Policy.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn string
    ARN of the Resiliency Policy.
    estimatedCostTier string
    Estimated Cost Tier of the Resiliency Policy.
    id string
    The provider-assigned unique ID for this managed resource.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn str
    ARN of the Resiliency Policy.
    estimated_cost_tier str
    Estimated Cost Tier of the Resiliency Policy.
    id str
    The provider-assigned unique ID for this managed resource.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    arn String
    ARN of the Resiliency Policy.
    estimatedCostTier String
    Estimated Cost Tier of the Resiliency Policy.
    id String
    The provider-assigned unique ID for this managed resource.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Look up Existing ResiliencyPolicy Resource

    Get an existing ResiliencyPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ResiliencyPolicyState, opts?: CustomResourceOptions): ResiliencyPolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            data_location_constraint: Optional[str] = None,
            description: Optional[str] = None,
            estimated_cost_tier: Optional[str] = None,
            name: Optional[str] = None,
            policy: Optional[ResiliencyPolicyPolicyArgs] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None,
            tier: Optional[str] = None,
            timeouts: Optional[ResiliencyPolicyTimeoutsArgs] = None) -> ResiliencyPolicy
    func GetResiliencyPolicy(ctx *Context, name string, id IDInput, state *ResiliencyPolicyState, opts ...ResourceOption) (*ResiliencyPolicy, error)
    public static ResiliencyPolicy Get(string name, Input<string> id, ResiliencyPolicyState? state, CustomResourceOptions? opts = null)
    public static ResiliencyPolicy get(String name, Output<String> id, ResiliencyPolicyState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the Resiliency Policy.
    DataLocationConstraint string
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    Description string
    Description of Resiliency Policy.
    EstimatedCostTier string
    Estimated Cost Tier of the Resiliency Policy.
    Name string
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    Policy ResiliencyPolicyPolicy

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    Tags Dictionary<string, string>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Tier string
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    Timeouts ResiliencyPolicyTimeouts
    Arn string
    ARN of the Resiliency Policy.
    DataLocationConstraint string
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    Description string
    Description of Resiliency Policy.
    EstimatedCostTier string
    Estimated Cost Tier of the Resiliency Policy.
    Name string
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    Policy ResiliencyPolicyPolicyArgs

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    Tags map[string]string
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    Tier string
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    Timeouts ResiliencyPolicyTimeoutsArgs
    arn String
    ARN of the Resiliency Policy.
    dataLocationConstraint String
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    description String
    Description of Resiliency Policy.
    estimatedCostTier String
    Estimated Cost Tier of the Resiliency Policy.
    name String
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    policy ResiliencyPolicyPolicy

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    tags Map<String,String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    tier String
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    timeouts ResiliencyPolicyTimeouts
    arn string
    ARN of the Resiliency Policy.
    dataLocationConstraint string
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    description string
    Description of Resiliency Policy.
    estimatedCostTier string
    Estimated Cost Tier of the Resiliency Policy.
    name string
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    policy ResiliencyPolicyPolicy

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    tags {[key: string]: string}
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    tier string
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    timeouts ResiliencyPolicyTimeouts
    arn str
    ARN of the Resiliency Policy.
    data_location_constraint str
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    description str
    Description of Resiliency Policy.
    estimated_cost_tier str
    Estimated Cost Tier of the Resiliency Policy.
    name str
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    policy ResiliencyPolicyPolicyArgs

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    tags Mapping[str, str]
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    tier str
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    timeouts ResiliencyPolicyTimeoutsArgs
    arn String
    ARN of the Resiliency Policy.
    dataLocationConstraint String
    Data Location Constraint of the Policy. Valid values are AnyLocation, SameContinent, and SameCountry.
    description String
    Description of Resiliency Policy.
    estimatedCostTier String
    Estimated Cost Tier of the Resiliency Policy.
    name String
    Name of Resiliency Policy. Must be between 2 and 60 characters long. Must start with an alphanumeric character and contain alphanumeric characters, underscores, or hyphens.
    policy Property Map

    The type of resiliency policy to be created, including the recovery time objective (RTO) and recovery point objective (RPO) in seconds. See policy.

    The following arguments are optional:

    tags Map<String>
    A map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

    Deprecated: Please use tags instead.

    tier String
    Resiliency Policy Tier. Valid values are MissionCritical, Critical, Important, CoreServices, NonCritical, and NotApplicable.
    timeouts Property Map

    Supporting Types

    ResiliencyPolicyPolicy, ResiliencyPolicyPolicyArgs

    Az ResiliencyPolicyPolicyAz
    Specifies Availability Zone failure policy. See policy.az
    Hardware ResiliencyPolicyPolicyHardware
    Specifies Infrastructure failure policy. See policy.hardware
    Region ResiliencyPolicyPolicyRegion
    Specifies Region failure policy. policy.region
    Software ResiliencyPolicyPolicySoftware

    Specifies Application failure policy. See policy.software

    The following arguments are optional:

    Az ResiliencyPolicyPolicyAz
    Specifies Availability Zone failure policy. See policy.az
    Hardware ResiliencyPolicyPolicyHardware
    Specifies Infrastructure failure policy. See policy.hardware
    Region ResiliencyPolicyPolicyRegion
    Specifies Region failure policy. policy.region
    Software ResiliencyPolicyPolicySoftware

    Specifies Application failure policy. See policy.software

    The following arguments are optional:

    az ResiliencyPolicyPolicyAz
    Specifies Availability Zone failure policy. See policy.az
    hardware ResiliencyPolicyPolicyHardware
    Specifies Infrastructure failure policy. See policy.hardware
    region ResiliencyPolicyPolicyRegion
    Specifies Region failure policy. policy.region
    software ResiliencyPolicyPolicySoftware

    Specifies Application failure policy. See policy.software

    The following arguments are optional:

    az ResiliencyPolicyPolicyAz
    Specifies Availability Zone failure policy. See policy.az
    hardware ResiliencyPolicyPolicyHardware
    Specifies Infrastructure failure policy. See policy.hardware
    region ResiliencyPolicyPolicyRegion
    Specifies Region failure policy. policy.region
    software ResiliencyPolicyPolicySoftware

    Specifies Application failure policy. See policy.software

    The following arguments are optional:

    az ResiliencyPolicyPolicyAz
    Specifies Availability Zone failure policy. See policy.az
    hardware ResiliencyPolicyPolicyHardware
    Specifies Infrastructure failure policy. See policy.hardware
    region ResiliencyPolicyPolicyRegion
    Specifies Region failure policy. policy.region
    software ResiliencyPolicyPolicySoftware

    Specifies Application failure policy. See policy.software

    The following arguments are optional:

    az Property Map
    Specifies Availability Zone failure policy. See policy.az
    hardware Property Map
    Specifies Infrastructure failure policy. See policy.hardware
    region Property Map
    Specifies Region failure policy. policy.region
    software Property Map

    Specifies Application failure policy. See policy.software

    The following arguments are optional:

    ResiliencyPolicyPolicyAz, ResiliencyPolicyPolicyAzArgs

    Rpo string
    Recovery Point Objective (RPO) as a Go duration.
    Rto string
    Recovery Time Objective (RTO) as a Go duration.
    Rpo string
    Recovery Point Objective (RPO) as a Go duration.
    Rto string
    Recovery Time Objective (RTO) as a Go duration.
    rpo String
    Recovery Point Objective (RPO) as a Go duration.
    rto String
    Recovery Time Objective (RTO) as a Go duration.
    rpo string
    Recovery Point Objective (RPO) as a Go duration.
    rto string
    Recovery Time Objective (RTO) as a Go duration.
    rpo str
    Recovery Point Objective (RPO) as a Go duration.
    rto str
    Recovery Time Objective (RTO) as a Go duration.
    rpo String
    Recovery Point Objective (RPO) as a Go duration.
    rto String
    Recovery Time Objective (RTO) as a Go duration.

    ResiliencyPolicyPolicyHardware, ResiliencyPolicyPolicyHardwareArgs

    Rpo string
    Recovery Point Objective (RPO) as a Go duration.
    Rto string
    Recovery Time Objective (RTO) as a Go duration.
    Rpo string
    Recovery Point Objective (RPO) as a Go duration.
    Rto string
    Recovery Time Objective (RTO) as a Go duration.
    rpo String
    Recovery Point Objective (RPO) as a Go duration.
    rto String
    Recovery Time Objective (RTO) as a Go duration.
    rpo string
    Recovery Point Objective (RPO) as a Go duration.
    rto string
    Recovery Time Objective (RTO) as a Go duration.
    rpo str
    Recovery Point Objective (RPO) as a Go duration.
    rto str
    Recovery Time Objective (RTO) as a Go duration.
    rpo String
    Recovery Point Objective (RPO) as a Go duration.
    rto String
    Recovery Time Objective (RTO) as a Go duration.

    ResiliencyPolicyPolicyRegion, ResiliencyPolicyPolicyRegionArgs

    Rpo string
    Recovery Point Objective (RPO) as a Go duration.
    Rto string
    Recovery Time Objective (RTO) as a Go duration.
    Rpo string
    Recovery Point Objective (RPO) as a Go duration.
    Rto string
    Recovery Time Objective (RTO) as a Go duration.
    rpo String
    Recovery Point Objective (RPO) as a Go duration.
    rto String
    Recovery Time Objective (RTO) as a Go duration.
    rpo string
    Recovery Point Objective (RPO) as a Go duration.
    rto string
    Recovery Time Objective (RTO) as a Go duration.
    rpo str
    Recovery Point Objective (RPO) as a Go duration.
    rto str
    Recovery Time Objective (RTO) as a Go duration.
    rpo String
    Recovery Point Objective (RPO) as a Go duration.
    rto String
    Recovery Time Objective (RTO) as a Go duration.

    ResiliencyPolicyPolicySoftware, ResiliencyPolicyPolicySoftwareArgs

    Rpo string
    Recovery Point Objective (RPO) as a Go duration.
    Rto string
    Recovery Time Objective (RTO) as a Go duration.
    Rpo string
    Recovery Point Objective (RPO) as a Go duration.
    Rto string
    Recovery Time Objective (RTO) as a Go duration.
    rpo String
    Recovery Point Objective (RPO) as a Go duration.
    rto String
    Recovery Time Objective (RTO) as a Go duration.
    rpo string
    Recovery Point Objective (RPO) as a Go duration.
    rto string
    Recovery Time Objective (RTO) as a Go duration.
    rpo str
    Recovery Point Objective (RPO) as a Go duration.
    rto str
    Recovery Time Objective (RTO) as a Go duration.
    rpo String
    Recovery Point Objective (RPO) as a Go duration.
    rto String
    Recovery Time Objective (RTO) as a Go duration.

    ResiliencyPolicyTimeouts, ResiliencyPolicyTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Using pulumi import, import Resilience Hub Resiliency Policy using the arn. For example:

    $ pulumi import aws:resiliencehub/resiliencyPolicy:ResiliencyPolicy example arn:aws:resiliencehub:us-east-1:123456789012:resiliency-policy/8c1cfa29-d1dd-4421-aa68-c9f64cced4c2
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi