Module Values.RecommendationTemplateSource

Defines a recommendation template created with the CreateRecommendationTemplate action.

Sourcetype nonrec t = {
  1. appArn : Arn.t option;
    (*

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

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

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

    *)
  3. endTime : TimeStamp.t option;
    (*

    The end time for the action.

    *)
  4. format : TemplateFormat.t option;
    (*

    Format of the recommendation template. CfnJson The template is CloudFormation JSON. CfnYaml The template is CloudFormation YAML.

    *)
  5. message : String500.t option;
    (*

    Message for the recommendation template.

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

    Name for the recommendation template.

    *)
  7. needsReplacements : BooleanOptional.t option;
    (*

    Indicates if replacements are needed.

    *)
  8. recommendationIds : RecommendationIdList.t option;
    (*

    Identifiers for the recommendations used in the recommendation template.

    *)
  9. recommendationTemplateArn : Arn.t option;
    (*

    Amazon Resource Name (ARN) for the recommendation template.

    *)
  10. recommendationTypes : RenderRecommendationTypeList.t option;
    (*

    An array of strings that specify the recommendation template type or types. Alarm The template is an AlarmRecommendation template. Sop The template is a SopRecommendation template. Test The template is a TestRecommendation template.

    *)
  11. startTime : TimeStamp.t option;
    (*

    The start time for the action.

    *)
  12. status : RecommendationTemplateStatus.t option;
    (*

    Status of the action.

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

    *)
  14. templatesLocation : S3Location.t option;
    (*

    The file location of the template.

    *)
}
Sourceval make : ?appArn:Arn.t -> ?assessmentArn:Arn.t -> ?endTime:TimeStamp.t -> ?format:TemplateFormat.t -> ?message:String500.t -> ?name:EntityName.t -> ?needsReplacements:BooleanOptional.t -> ?recommendationIds:RecommendationIdList.t -> ?recommendationTemplateArn:Arn.t -> ?recommendationTypes:RenderRecommendationTypeList.t -> ?startTime:TimeStamp.t -> ?status:RecommendationTemplateStatus.t -> ?tags:TagMap.t -> ?templatesLocation:S3Location.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanOptional.t | `Enum of string | `List of [> `Enum of string | `String of Uuid.t ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Arn.t | `Structure of (string * [> `String of String500.t ]) list | `Timestamp of TimeStamp.t ]) 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