Module ResilienceHub.App

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html

type physical_resource_id = {
  1. type_ : string;
  2. identifier : string;
  3. aws_region : string option;
  4. aws_account_id : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-physicalresourceid.html

and event_subscription = {
  1. event_type : string;
  2. sns_topic_arn : string option;
  3. name : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-eventsubscription.html

and permission_model = {
  1. type_ : string;
  2. cross_account_role_arns : string list option;
  3. invoker_role_name : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-permissionmodel.html

and resource_mapping = {
  1. mapping_type : string;
  2. logical_stack_name : string option;
  3. resource_name : string option;
  4. terraform_source_name : string option;
  5. physical_resource_id : physical_resource_id;
  6. eks_source_name : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resiliencehub-app-resourcemapping.html

type properties = {
  1. description : string option;
  2. app_template_body : string;
  3. app_assessment_schedule : string option;
  4. permission_model : permission_model option;
  5. resource_mappings : resource_mapping list;
  6. event_subscriptions : event_subscription list option;
  7. tags : string Stdlib__Map.Make(Stdlib.String).t option;
  8. name : string;
  9. resiliency_policy_arn : string option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-resiliencehub-app.html;

val make_properties : ?description:string -> app_template_body:string -> ?app_assessment_schedule:string -> ?permission_model:permission_model -> resource_mappings:resource_mapping list -> ?event_subscriptions:event_subscription list -> ?tags:string Stdlib__Map.Make(Stdlib.String).t -> name:string -> ?resiliency_policy_arn:string -> unit -> properties
val make_physical_resource_id : type_:string -> identifier:string -> ?aws_region:string -> ?aws_account_id:string -> unit -> physical_resource_id
val make_event_subscription : event_type:string -> ?sns_topic_arn:string -> name:string -> unit -> event_subscription
val make_permission_model : type_:string -> ?cross_account_role_arns:string list -> ?invoker_role_name:string -> unit -> permission_model
val make_resource_mapping : mapping_type:string -> ?logical_stack_name:string -> ?resource_name:string -> ?terraform_source_name:string -> physical_resource_id:physical_resource_id -> ?eks_source_name:string -> unit -> resource_mapping
val yojson_of_physical_resource_id : physical_resource_id -> Yojson.Safe.t
val yojson_of_event_subscription : event_subscription -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_permission_model : permission_model -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_resource_mapping : resource_mapping -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. app_arn : string;
  3. drift_status : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string