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:
|
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.