全部产品
Search
文档中心

资源编排:ALIYUN::CloudSSO::SCIMSynchronization

更新时间:Jul 18, 2024

ALIYUN::CloudSSO::SCIMSynchronization类型用于启用或禁用SCIM同步。

语法

{
  "Type": "ALIYUN::CloudSSO::SCIMSynchronization",
  "Properties": {
    "DirectoryId": String,
    "SCIMSynchronizationStatus": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

DirectoryId

String

目录ID。

SCIMSynchronizationStatus

String

SCIM同步状态。

取值:

  • Enabled:启用。

  • Disabled:禁用。

返回值

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