ALIYUN::OOS::ServiceSettings is used to configure service settings.
Syntax
{
"Type": "ALIYUN::OOS::ServiceSettings",
"Properties": {
"DeliverySlsEnabled": Boolean,
"DeliveryOssKeyPrefix": String,
"DeliveryOssBucketName": String,
"DeliveryOssEnabled": Boolean,
"DeliverySlsProjectName": String,
"RdcEnterpriseId": String
}
}Properties
Property | Type | Required | Editable | Description | Constraint |
DeliverySlsEnabled | Boolean | No | Yes | Specifies whether to enable the feature of delivering template execution records to Simple Log Service (SLS). | Default value: false. |
DeliveryOssKeyPrefix | String | No | Yes | The directory of the Object Storage Service (OSS) bucket. | None. |
DeliveryOssBucketName | String | No | Yes | The name of the OSS bucket. | None. |
DeliveryOssEnabled | Boolean | No | Yes | Specifies whether to enable the feature of delivering template execution records to OSS. | Default value: false. |
DeliverySlsProjectName | String | No | Yes | The name of the SLS project. | None. |
RdcEnterpriseId | String | No | Yes | The ID of the Alibaba Cloud DevOps organization workspace. | None. |
Return values
Fn::GetAtt
None.
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RdcEnterpriseId:
Type: String
Description:
en: Enterprise ID.
Required: false
DeliverySlsProjectName:
Type: String
Description:
en: SLS project name.
Required: false
Resources:
ServiceSettings:
Type: ALIYUN::OOS::ServiceSettings
Properties:
RdcEnterpriseId:
Ref: RdcEnterpriseId
DeliverySlsProjectName:
Ref: DeliverySlsProjectName
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RdcEnterpriseId": {
"Type": "String",
"Description": {
"en": "Enterprise ID."
},
"Required": false
},
"DeliverySlsProjectName": {
"Type": "String",
"Description": {
"en": "SLS project name."
},
"Required": false
}
},
"Resources": {
"ServiceSettings": {
"Type": "ALIYUN::OOS::ServiceSettings",
"Properties": {
"RdcEnterpriseId": {
"Ref": "RdcEnterpriseId"
},
"DeliverySlsProjectName": {
"Ref": "DeliverySlsProjectName"
}
}
}
}
}