# AWS::ResilienceHub::App Resource Type Definition for AWS::ResilienceHub::App. ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "AWS::ResilienceHub::App",
    "Properties" : {
        "Name" : String,
        "Description" : String,
        "ResiliencyPolicyArn" : String,
        "Tags" : Tags,
        "AppTemplateBody" : String,
        "ResourceMappings" : [ ResourceMapping, ... ],
        "AppAssessmentSchedule" : String
    }
}
### YAML
Type: AWS::ResilienceHub::App
Properties:
    Name: String
    Description: String
    ResiliencyPolicyArn: String
    Tags: Tags
    AppTemplateBody: String
    ResourceMappings: 
      - ResourceMapping
    AppAssessmentSchedule: String
## Properties #### Name Name of the app. _Required_: Yes _Type_: String _Pattern_: ^[A-Za-z0-9][A-Za-z0-9_\-]{1,59}$ _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Description App description. _Required_: No _Type_: String _Maximum Length_: 500 _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### ResiliencyPolicyArn Amazon Resource Name (ARN) of the Resiliency Policy. _Required_: No _Type_: String _Pattern_: ^arn:(aws|aws-cn|aws-iso|aws-iso-[a-z]{1}|aws-us-gov):[A-Za-z0-9][A-Za-z0-9_/.-]{0,62}:([a-z]{2}-((iso[a-z]{0,1}-)|(gov-)){0,1}[a-z]+-[0-9]):[0-9]{12}:[A-Za-z0-9][A-Za-z0-9:_/+=,@.-]{0,1023}$ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Tags _Required_: No _Type_: Tags _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### AppTemplateBody A string containing full ResilienceHub app template body. _Required_: Yes _Type_: String _Maximum Length_: 5000 _Pattern_: ^[\w\s:,-\.'\/{}\[\]:"]+$ _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### ResourceMappings An array of ResourceMapping objects. _Required_: Yes _Type_: List of ResourceMapping _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### AppAssessmentSchedule Assessment execution schedule. _Required_: No _Type_: String _Allowed Values_: Disabled | Daily _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) ## Return Values ### Ref When you pass the logical ID of this resource to the intrinsic `Ref` function, Ref returns the AppArn. ### Fn::GetAtt The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values. For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). #### AppArn Amazon Resource Name (ARN) of the App.