# AWS::SageMaker::App Resource Type definition for AWS::SageMaker::App ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
"Type" : "AWS::SageMaker::App",
"Properties" : {
"AppName" : String,
"AppType" : String,
"DomainId" : String,
"ResourceSpec" : ResourceSpec,
"Tags" : [ Tag, ... ],
"UserProfileName" : String
}
}
### YAML
Type: AWS::SageMaker::App
Properties:
AppName: String
AppType: String
DomainId: String
ResourceSpec: ResourceSpec
Tags:
- Tag
UserProfileName: String
## Properties
#### AppName
The name of the app.
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 63
_Pattern_: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### AppType
The type of app.
_Required_: Yes
_Type_: String
_Allowed Values_: JupyterServer | KernelGateway
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### DomainId
The domain ID.
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 63
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### ResourceSpec
_Required_: No
_Type_: ResourceSpec
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### Tags
A list of tags to apply to the app.
_Required_: No
_Type_: List of Tag
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
#### UserProfileName
The user profile name.
_Required_: Yes
_Type_: String
_Minimum_: 1
_Maximum_: 63
_Pattern_: ^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}
_Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)
## Return Values
### 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
The Amazon Resource Name (ARN) of the app.