ALIYUN::OSS::BucketAccessMonitor类型用于修改存储空间(Bucket)的访问跟踪状态。
语法
{
"Type": "ALIYUN::OSS::BucketAccessMonitor",
"Properties": {
"Bucket": String
}
}
属性
|
属性名称 |
类型 |
必须 |
允许更新 |
描述 |
约束 |
|
Bucket |
String |
是 |
否 |
存储桶的名称。 |
无 |
返回值
Fn::GetAtt
无
示例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Bucket:
Type: String
Description:
en: The name of the bucket.
Required: true
Resources:
ExtensionResource:
Type: ALIYUN::OSS::BucketAccessMonitor
Properties:
Bucket:
Ref: Bucket
Outputs: {}
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Bucket": {
"Type": "String",
"Description": {
"en": "The name of the bucket."
},
"Required": true
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::OSS::BucketAccessMonitor",
"Properties": {
"Bucket": {
"Ref": "Bucket"
}
}
}
},
"Outputs": {}
}该文章对您有帮助吗?