Template name
ACS-RDS-BulkyModifyActionEventPolicy: Enables the RDS historical events feature
Template description
Enables the event history feature for ApsaraDB RDS instances.
Template type
Automated
Owner
Alibaba Cloud
Input parameters
|
Parameter |
Description |
Data type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
OOSAssumeRole |
The RAM role assumed by CloudOps Orchestration Service (OOS). |
String |
No |
"" |
Output parameters
N/A.
Permission policy that is required to execute the template
{
"Version": "1",
"Statement": [
{
"Action": [
"rds:ModifyActionEventPolicy"
],
"Resource": "*",
"Effect": "Allow"
}
]
}
Details
ACS-RDS-BulkyModifyActionEventPolicy
Template content
FormatVersion: OOS-2019-06-01
Description:
en: Modify action event policy
name-en: ACS-RDS-BulkyModifyActionEventPolicy
categories:
- security
- rds
Parameters:
regionId:
Type: String
Label:
en: RegionId
AssociationProperty: RegionId
Default: '{{ ACS::RegionId }}'
OOSAssumeRole:
Label:
en: OOSAssumeRole
Type: String
Default: ''
RamRole: '{{ OOSAssumeRole }}'
Tasks:
- Name: modifyActionEventPolicy
Action: 'ACS::ExecuteAPI'
Description:
en: Modify action event policy
Properties:
Service: RDS
API: ModifyActionEventPolicy
Parameters:
RegionId: '{{ regionId }}'
EnableEventLog: true
该文章对您有帮助吗?