ALIYUN::CloudSSO::SCIMSynchronization类型用于启用或禁用SCIM同步。
语法
{
  "Type": "ALIYUN::CloudSSO::SCIMSynchronization",
  "Properties": {
    "DirectoryId": String,
    "SCIMSynchronizationStatus": String
  }
}属性
| 属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 | 
| DirectoryId | String | 是 | 否 | 目录ID。 | 无 | 
| SCIMSynchronizationStatus | String | 否 | 是 | SCIM同步状态。 | 取值: 
 | 
返回值
Fn::GetAtt
无
示例
YAML格式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DirectoryId:
    Description:
      en: The ID of the directory.
    Required: true
    Type: String
  SCIMSynchronizationStatus:
    AllowedValues:
    - Enabled
    - Disabled
    Default: Enabled
    Description:
      en: 'The status of SCIM synchronization. Valid values:
        - Enabled
        - Disabled
        The default value is Enabled.'
    Required: false
    Type: String
Resources:
  ScimSynchronization:
    Properties:
      DirectoryId:
        Ref: DirectoryId
      SCIMSynchronizationStatus:
        Ref: SCIMSynchronizationStatus
    Type: ALIYUN::CloudSSO::SCIMSynchronization
                        JSON格式
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DirectoryId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the directory."
      },
      "Required": true
    },
    "SCIMSynchronizationStatus": {
      "Type": "String",
      "Description": {
        "en": "The status of SCIM synchronization. Valid values:\n- Enabled\n- Disabled\nThe default value is Enabled."
      },
      "AllowedValues": [
        "Enabled",
        "Disabled"
      ],
      "Required": false,
      "Default": "Enabled"
    }
  },
  "Resources": {
    "ScimSynchronization": {
      "Type": "ALIYUN::CloudSSO::SCIMSynchronization",
      "Properties": {
        "DirectoryId": {
          "Ref": "DirectoryId"
        },
        "SCIMSynchronizationStatus": {
          "Ref": "SCIMSynchronizationStatus"
        }
      }
    }
  }
}
                        该文章对您有帮助吗?