すべてのプロダクト
Search
ドキュメントセンター

Resource Orchestration Service:ユーザーをグループに追加する

最終更新日:Mar 17, 2025

ALIYUN::CloudSSO::UserToGroupAddition は、ユーザーをグループに追加するために使用されます。

構文

{
  "Type": "ALIYUN::CloudSSO::UserToGroupAddition",
  "Properties": {
    "DirectoryId": String,
    "UserId": String,
    "GroupId": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

DirectoryId

String

はい

いいえ

ディレクトリ ID。

なし。

GroupId

String

はい

いいえ

グループ ID。

なし。

UserId

String

はい

いいえ

ユーザー ID。

なし。

戻り値

Fn::GetAtt

なし。

YAML 形式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  DirectoryId:
    Description:
      en: The ID of the directory.
    Required: true
    Type: String
  GroupId:
    Description:
      en: The ID of the group.
    Required: true
    Type: String
  UserId:
    Description:
      en: The ID of the user.
    Required: true
    Type: String
Resources:
  UserToGroupAddition:
    Properties:
      DirectoryId:
        Ref: DirectoryId
      GroupId:
        Ref: GroupId
      UserId:
        Ref: UserId
    Type: ALIYUN::CloudSSO::UserToGroupAddition
                        

JSON 形式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "DirectoryId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the directory."
      },
      "Required": true
    },
    "UserId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the user."
      },
      "Required": true
    },
    "GroupId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the group."
      },
      "Required": true
    }
  },
  "Resources": {
    "UserToGroupAddition": {
      "Type": "ALIYUN::CloudSSO::UserToGroupAddition",
      "Properties": {
        "DirectoryId": {
          "Ref": "DirectoryId"
        },
        "UserId": {
          "Ref": "UserId"
        },
        "GroupId": {
          "Ref": "GroupId"
        }
      }
    }
  }
}