Module Values.CreateAppRequestSource

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).

Sourcetype nonrec t = {
  1. assessmentSchedule : AppAssessmentScheduleType.t option;
    (*

    Assessment execution schedule with 'Daily' or 'Disabled' values.

    *)
  2. awsApplicationArn : Arn.t option;
    (*

    Amazon Resource Name (ARN) of Resource Groups group that is integrated with an AppRegistry application. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

    *)
  3. clientToken : ClientToken.t option;
    (*

    Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

    *)
  4. description : EntityDescription.t option;
    (*

    The optional description for an app.

    *)
  5. eventSubscriptions : EventSubscriptionList.t option;
    (*

    The list of events you would like to subscribe and get notification for. Currently, Resilience Hub supports only Drift detected and Scheduled assessment failure events notification.

    *)
  6. name : EntityName.t;
    (*

    Name of the application.

    *)
  7. permissionModel : PermissionModel.t option;
    (*

    Defines the roles and credentials that Resilience Hub would use while creating the application, importing its resources, and running an assessment.

    *)
  8. policyArn : Arn.t option;
    (*

    Amazon Resource Name (ARN) of the resiliency policy. The format for this ARN is: arn:partition:resiliencehub:region:account:resiliency-policy/policy-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

    *)
  9. tags : TagMap.t option;
    (*

    Tags assigned to the resource. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key/value pair.

    *)
}
Sourceval context_ : string
Sourceval make : ?assessmentSchedule:??? -> ?awsApplicationArn:??? -> ?clientToken:??? -> ?description:??? -> ?eventSubscriptions:??? -> ?permissionModel:??? -> ?policyArn:??? -> ?tags:??? -> name:EntityName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of String255.t ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Arn.t | `Structure of (string * [> `Enum of string | `List of [> `String of IamRoleArn.t ] list | `String of IamRoleName.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t