View Source aws_resiliencehub (aws v1.0.4)
Resilience Hub helps you proactively prepare and protect your Amazon Web Services applications from disruptions.
It offers continual resiliency assessment and validation that integrates into your software development lifecycle. This enables you to uncover resiliency weaknesses, ensure recovery time objective (RTO) and recovery point objective (RPO) targets for your applications are met, and resolve issues before they are released into production.Summary
Functions
Adds the source of resource-maps to the draft version of an application.
Creates an Resilience Hub application.
Creates a new Application Component in the Resilience Hub application.
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.
Creates a resiliency policy for an application.
Deletes an Resilience Hub application.
Deletes an Resilience Hub application assessment.
Deletes an Application Component from the Resilience Hub application.
Deletes a resource from the Resilience Hub application.
Deletes a recommendation template.
Deletes a resiliency policy.
Describes a resource of the Resilience Hub application.
Returns the resolution status for the specified resolution identifier for an application version.
Describes the status of importing resources to an application version.
Describes a specified resiliency policy for an Resilience Hub application.
Imports resources to Resilience Hub application draft version from different input sources.
Lists the assessments for an Resilience Hub application.
Lists all the input sources of the Resilience Hub application.
Lists how the resources in an application version are mapped/sourced from.
Lists your Resilience Hub applications.
Lists the resources that are not currently supported in Resilience Hub.
Updates the Resilience Hub application version.
Updates an existing Application Component in the Resilience Hub application.
Updates the resource details in the Resilience Hub application.
Updates a resiliency policy.
Functions
Adds the source of resource-maps to the draft version of an application.
During assessment, Resilience Hub will use these resource-maps to resolve the latest physical ID for each resource in the application template. For more information about different types of resources suported by Resilience Hub and how to add them in your application, see Step 2: How is your application managed?: https://docs.aws.amazon.com/resilience-hub/latest/userguide/how-app-manage.html in the Resilience Hub User Guide.Creates an Resilience Hub application.
An Resilience Hub application is a collection of Amazon Web Services resources structured to prevent and recover Amazon Web Services application disruptions. To describe a Resilience Hub application, you provide an application name, resources from one or more CloudFormation stacks, Resource Groups, Terraform state files, AppRegistry applications, and an appropriate resiliency policy. In addition, you can also add resources that are located on Amazon Elastic Kubernetes Service (Amazon EKS) clusters as optional resources. For more information about the number of resources supported per application, see Service quotas: https://docs.aws.amazon.com/general/latest/gr/resiliencehub.html#limits_resiliencehub.
After you create an Resilience Hub application, you publish it so that you can run a resiliency assessment on it. You can then use recommendations from the assessment to improve resiliency by running another assessment, comparing results, and then iterating the process until you achieve your goals for recovery time objective (RTO) and recovery point objective (RPO).Creates a new Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using thePublishAppVersion
API.
Adds a resource to the Resilience Hub application and assigns it to the specified Application Components.
If you specify a new Application Component, Resilience Hub will automatically create the Application Component.
This action has no effect outside Resilience Hub.
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion
API.
physicalResourceID
, you must call ResolveAppVersionResources
API.
Creates a resiliency policy for an application.
Resilience Hub allows you to provide a value of zero forrtoInSecs
and rpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero for rtoInSecs
and rpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.
Deletes an Resilience Hub application.
This is a destructive action that can't be undone.Deletes an Resilience Hub application assessment.
This is a destructive action that can't be undone.Deletes an Application Component from the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using the PublishAppVersion
API.
Deletes a resource from the Resilience Hub application.
You can only delete a manually added resource. To exclude non-manually added resources, use the UpdateAppVersionResource
API.
This action has no effect outside Resilience Hub.
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using thePublishAppVersion
API.
Deletes a recommendation template.
This is a destructive action that can't be undone.Deletes a resiliency policy.
This is a destructive action that can't be undone.Describes a resource of the Resilience Hub application.
This API accepts only one of the following parameters to descibe the resource:
resourceName
logicalResourceId
physicalResourceId
(Along with physicalResourceId
, you can also provide awsAccountId
, and awsRegion
)
Returns the resolution status for the specified resolution identifier for an application version.
IfresolutionId
is not specified, the current resolution status is returned.
describe_app_version_resources_resolution_status(Client, Input0, Options0)
View SourceDescribes the status of importing resources to an application version.
If you get a 404 error withResourceImportStatusNotFoundAppMetadataException
, you must call importResourcesToDraftAppVersion
after creating the application and before calling describeDraftAppVersionResourcesImportStatus
to obtain the status.
describe_draft_app_version_resources_import_status(Client, Input0, Options0)
View SourceDescribes a specified resiliency policy for an Resilience Hub application.
The returned policy object includes creation time, data location constraints, the Amazon Resource Name (ARN) for the policy, tags, tier, and more.Imports resources to Resilience Hub application draft version from different input sources.
For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html.Lists the assessments for an Resilience Hub application.
You can use request parameters to refine the results for the response object.Lists all the input sources of the Resilience Hub application.
For more information about the input sources supported by Resilience Hub, see Discover the structure and describe your Resilience Hub application: https://docs.aws.amazon.com/resilience-hub/latest/userguide/discover-structure.html.Lists how the resources in an application version are mapped/sourced from.
Mappings can be physical resource identifiers, CloudFormation stacks, resource-groups, or an application registry app.Lists your Resilience Hub applications.
You can filter applications using only one filter at a time or without using any filter. If you try to filter applications using multiple filters, you will get the following error:
An error occurred (ValidationException) when calling the ListApps operation: Only one filter is supported for this operation.
list_recommendation_templates(Client, AssessmentArn, QueryMap, HeadersMap)
View Sourcelist_recommendation_templates(Client, AssessmentArn, QueryMap, HeadersMap, Options0)
View Sourcelist_suggested_resiliency_policies(Client, QueryMap, HeadersMap, Options0)
View Sourcelist_tags_for_resource(Client, ResourceArn, QueryMap, HeadersMap, Options0)
View SourceLists the resources that are not currently supported in Resilience Hub.
An unsupported resource is a resource that exists in the object that was used to create an app, but is not supported by Resilience Hub.remove_draft_app_version_resource_mappings(Client, Input0, Options0)
View SourceUpdates the Resilience Hub application version.
This API updates the Resilience Hub application draft version. To use this information for running resiliency assessments, you must publish the Resilience Hub application using thePublishAppVersion
API.
Updates an existing Application Component in the Resilience Hub application.
This API updates the Resilience Hub application draft version. To use this Application Component for running assessments, you must publish the Resilience Hub application using thePublishAppVersion
API.
Updates the resource details in the Resilience Hub application.
This action has no effect outside Resilience Hub.
This API updates the Resilience Hub application draft version. To use this resource for running resiliency assessments, you must publish the Resilience Hub application using the PublishAppVersion
API.
physicalResourceID
, you must call ResolveAppVersionResources
API.
Updates a resiliency policy.
Resilience Hub allows you to provide a value of zero forrtoInSecs
and rpoInSecs
of your resiliency policy. But, while assessing your application, the lowest possible assessment result is near zero. Hence, if you provide value zero for rtoInSecs
and rpoInSecs
, the estimated workload RTO and estimated workload RPO result will be near zero and the Compliance status for your application will be set to Policy breached.