ALIYUN::MarketPlace::ImageSubscription is used to subscribe to images available in Alibaba Cloud Marketplace.

Syntax

{
  "Type": "ALIYUN::MarketPlace::ImageSubscription",
  "Properties": {
    "ImageId": String
  }
}

Properties

Name Type Required Editable Description Validity
ImageId String Yes No The ID of an image in Alibaba Cloud Marketplace. Before you can use an image from Alibaba Cloud Marketplace to create a Pay-As-You-Go ECS instance, you must subscribe to the image.

Response parameters

Fn::GetAtt

ImageId: the ID of the image in Alibaba Cloud Marketplace.

Examples

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "ImageSubscription": {
      "Type": "ALIYUN::MarketPlace::ImageSubscription",
      "Properties": {
        "ImageId":"m-25xov****"
      }
    }
  }
}