edit-icon download-icon

ALIYUN::MarketPlace::ImageSubscription

Last Updated: Mar 29, 2018

The ALIYUN::MarketPlace::ImageSubscription type is used to subscribe to marketplace images.

Syntax

  1. {
  2. "Type" : "ALIYUN::MarketPlace::ImageSubscription",
  3. "Properties" : {
  4. "ImageId" : String
  5. }
  6. }

Attributes

Attribute name Type Required? Description Constraint
ImageId string Yes Marketplace image ID Before you use a marketplace image to create a Pay-As-You-Go ECS instance, subscribe to the image.

Return values

Fn::GetAtt

ImageId: ID of the marketplace image.

Example

  1. {
  2. "ROSTemplateFormatVersion" : "2015-09-01",
  3. "Resources" : {
  4. "ImageSubscription": {
  5. "Type": "ALIYUN::MarketPlace::ImageSubscription",
  6. "Properties": {
  7. "ImageId":"m-25xovkjg5"
  8. }
  9. }
  10. }
  11. }
Thank you! We've received your feedback.