ALIYUN::OSS::BucketAccessMonitor

更新时间:
复制为 MD 格式

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": {}
}