The ALIYUN::OSS::BucketAccessMonitor resource type enables access tracking for a bucket.
Syntax
{
"Type": "ALIYUN::OSS::BucketAccessMonitor",
"Properties": {
"Bucket": String
}
}Properties
Parameter | Type | Required | Editable | Description | Constraints |
Bucket | String | True | No | The name of the bucket. | None |
Return values
Fn::GetAtt
This resource has no return values.
Examples
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": {}
}