# AWS::SageMaker::App ResourceSpec ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
"InstanceType" : String,
"SageMakerImageArn" : String,
"SageMakerImageVersionArn" : String
}
### YAML
InstanceType: String SageMakerImageArn: String SageMakerImageVersionArn: String## Properties #### InstanceType The instance type that the image version runs on. _Required_: No _Type_: String _Allowed Values_:
system | ml.t3.micro | ml.t3.small | ml.t3.medium | ml.t3.large | ml.t3.xlarge | ml.t3.2xlarge | ml.m5.large | ml.m5.xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.8xlarge | ml.m5.12xlarge | ml.m5.16xlarge | ml.m5.24xlarge | ml.c5.large | ml.c5.xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.12xlarge | ml.c5.18xlarge | ml.c5.24xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3.16xlarge | ml.g4dn.xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### SageMakerImageArn
The ARN of the SageMaker image that the image version belongs to.
_Required_: No
_Type_: String
_Minimum_: 1
_Maximum_: 256
_Pattern_: ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image/[a-z0-9]([-.]?[a-z0-9])*$
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)
#### SageMakerImageVersionArn
The ARN of the image version created on the instance.
_Required_: No
_Type_: String
_Minimum_: 1
_Maximum_: 256
_Pattern_: ^arn:aws(-[\w]+)*:sagemaker:.+:[0-9]{12}:image-version/[a-z0-9]([-.]?[a-z0-9])*/[0-9]+$
_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)