AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
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).
For .NET Core this operation is only available in asynchronous form. Please refer to CreateAppAsync.
Namespace: Amazon.ResilienceHub
Assembly: AWSSDK.ResilienceHub.dll
Version: 3.x.y.z
public abstract CreateAppResponse CreateApp( CreateAppRequest request )
Container for the necessary parameters to execute the CreateApp service method.
Exception | Condition |
---|---|
AccessDeniedException | You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. |
ConflictException | This exception occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception. |
InternalServerException | This exception occurs when there is an internal failure in the Resilience Hub service. |
ResourceNotFoundException | This exception occurs when the specified resource could not be found. |
ServiceQuotaExceededException | This exception occurs when you have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase. |
ThrottlingException | This exception occurs when you have exceeded the limit on the number of requests per second. |
ValidationException | This exception occurs when a request is not valid. |
.NET Framework:
Supported in: 4.5 and newer, 3.5