ALIYUN::ROS::AutoEnableService is used to activate an Alibaba Cloud service.

Syntax

{
  "Type": "ALIYUN::ROS::AutoEnableService",
  "Properties": {
    "ServiceName": String
  }
}

Properties

Property Type Required Editable Description Constraint
ServiceName String Yes No The name of the Alibaba Cloud service or feature. Valid values:
  • AHAS: Application High Availability Service
  • ARMS: Application Real-Time Monitoring Service (ARMS)
  • ApiGateway: API Gateway
  • BatchCompute: Batch Compute
  • BrainIndustrial: Industrial Brain
  • CloudStorageGateway: Cloud Storage Gateway (CSG)
  • CMS: CloudMonitor
  • CR: Container Registry
  • CS: Container Service for Kubernetes (ACK)
  • DCDN: Dynamic Route for CDN (DCDN)
  • DataHub: DataHub
  • DataWorks: DataWorks
  • EDAS: Enterprise Distributed Application Service (EDAS)
  • EMAS: Enterprise Mobile Application Studio (EMAS)
  • FC: Function Compute
  • FNF: Serverless Workflow (SWF)
  • MaxCompute: MaxCompute
  • MNS: Message Service (MNS)
  • HBR: Hybrid Backup Recovery (HBR)
  • IMM: Intelligent Media Management
  • IOT: IoT Platform
  • KMS: Key Management Service (KMS)
  • NAS: Apsara File Storage NAS (NAS)
  • NLP: Natural Language Processing (NLP)
  • OSS: Object Storage Service (OSS)
  • OTS: Tablestore
  • PrivateLink: PrivateLink
  • PrivateZone: Alibaba Cloud DNS (DNS)
  • RocketMQ: Message Queue for Apache RocketMQ
  • SAE: Serverless App Engine (SAE)
  • SLS: Log Service
  • TrafficMirror: the traffic mirroring feature
  • VS: Video Surveillance System
  • Xtrace: Tracing Analysis

Return values

Fn::GetAtt

None

Examples

JSON format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ServiceName": {
      "Type": "String",
      "Description": "Which service to enable. Valid values:\nApiGateway: API Gateway\nBatchCompute: Batch Compute\nEMAS: Enterprise Mobile Application Studio\nNAS: Network Attached Storage\nHBR: Hybrid Backup Recovery\nNLP: Natural Language Processing\nOSS: Object Storage Service\nOTS: Table Store\nSLS: Log Service\n",
      "AllowedValues": [
        "IOT",
        "EMAS",
        "MaxCompute",
        "BatchCompute",
        "IMM",
        "Xtrace",
        "DataWorks",
        "FNF",
        "FC",
        "KMS",
        "CS",
        "CR",
        "DataHub",
        "EDAS",
        "CMS",
        "RocketMQ",
        "HBR",
        "ApiGateway",
        "NLP",
        "SLS",
        "NAS",
        "OSS",
        "MNS",
        "TrafficMirror",
        "ARMS",
        "SAE",
        "CloudStorageGateway",
        "PrivateZone",
        "DCDN",
        "VS",
        "AHAS",
        "BrainIndustrial",
        "OTS",
        "PrivateLink"
      ]
    }
  },
  "Resources": {
    "AutoEnableService": {
      "Type": "ALIYUN::ROS::AutoEnableService",
      "Properties": {
        "ServiceName": {
          "Ref": "ServiceName"
        }
      }
    }
  }
}

YAML format

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  ServiceName:
    Type: String
    Description: |
      Which service to enable. Valid values:
      AHAS: Application High Availability Service
      ARMS: Realtime Monitoring Service
      ApiGateway: API Gateway
      BatchCompute: Batch Compute
      BrainIndustrial: Brain Industrial
      CloudStorageGateway: Cloud Storage Gateway
      CMS: Cloud Monitor Service
      CR: Container Registry
      CS: Container Service
      DataHub: Data Hub
      DataWorks: DataWorks
      DCDN: Dynamic Route for CDN
      EDAS: Enterprise Distributed Application Service
      EMAS: Enterprise Mobile Application Studio
      FC: Function Compute
      FNF: Serverless Workflow
      MaxCompute: MaxCompute
      NAS: Network Attached Storage
      MNS: Message Service (MNS)
      HBR: Hybrid Backup Recovery
      IMM: Intelligent Media Management
      IOT: IoT Platform
      KMS: Key Management Service
      NLP: Natural Language Processing
      OSS: Object Storage Service
      OTS: Table Store
      PrivateLink: Private Link
      PrivateZone: Private Zone
      RocketMQ: RocketMQ
      SAE: Serverless App Engine
      SLS: Log Service
      TrafficMirror: VPC Traffic Mirroring
      VS: Video Surveillance
      Xtrace: Tracing Anlaysis
    AllowedValues:
      - IOT
      - EMAS
      - MaxCompute
      - BatchCompute
      - IMM
      - Xtrace
      - DataWorks
      - FNF
      - FC
      - KMS
      - CS
      - CR
      - DataHub
      - EDAS
      - CMS
      - RocketMQ
      - HBR
      - ApiGateway
      - NLP
      - SLS
      - NAS
      - OSS
      - MNS
      - TrafficMirror
      - ARMS
      - SAE
      - CloudStorageGateway
      - PrivateZone
      - DCDN
      - VS
      - AHAS
      - BrainIndustrial
      - OTS
      - PrivateLink
Resources:
  AutoEnableService:
    Type: 'ALIYUN::ROS::AutoEnableService'
    Properties:
      ServiceName:
        Ref: ServiceName

To view more examples, visit AutoEnableService.json and AutoEnableService.yml.