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

Resource Orchestration Service:ALIYUN::CloudSSO::Group

最終更新日:Mar 17, 2025

ALIYUN::CloudSSO::Group は、CloudSSO でグループを作成するために使用されます。

構文

{
  "Type": "ALIYUN::CloudSSO::Group",
  "Properties": {
    "GroupName": String,
    "DirectoryId": String,
    "Description": String
  }
}

プロパティ

プロパティ

タイプ

必須

編集可能

説明

制約

DirectoryId

String

はい

いいえ

ディレクトリ ID。

なし。

GroupName

String

はい

はい

グループ名。

名前には、文字、数字、アンダースコア (_)、ハイフン (-)、およびピリオド (.) を使用できます。

最大 128 文字まで指定できます。

Description

String

いいえ

はい

グループの説明。

説明は最大 1,024 文字まで指定できます。

戻り値

Fn::GetAtt

GroupId: グループ ID。

YAML 形式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Description:
    AssociationProperty: TextArea
    Description:
      ja: 'グループの説明。

        説明は最大 1,024 文字まで指定できます。'
    MaxLength: 1024
    Required: false
    Type: String
  DirectoryId:
    Description:
      ja: ディレクトリの ID。
    Required: true
    Type: String
  GroupName:
    AllowedPattern: ^[a-zA-Z0-9._-]{1,128}$
    Description:
      ja: 'グループの名前。

        名前には、文字、数字、アンダースコア (_)、ハイフン (-)、およびピリオド (.) を使用できます。

        名前は最大 128 文字まで指定できます。'
    Required: true
    Type: String
Resources:
  Group:
    Properties:
      Description:
        Ref: Description
      DirectoryId:
        Ref: DirectoryId
      GroupName:
        Ref: GroupName
    Type: ALIYUN::CloudSSO::Group
Outputs:
  GroupId:
    Description: グループの ID。
    Value:
      Fn::GetAtt:
      - Group
      - GroupId
                        

JSON 形式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "GroupName": {
      "Type": "String",
      "Description": {
        "ja": "グループの名前。\n名前には、文字、数字、アンダースコア (_)、ハイフン (-)、およびピリオド (.) を使用できます。\n名前は最大 128 文字まで指定できます。"
      },
      "AllowedPattern": "^[a-zA-Z0-9._-]{1,128}$",
      "Required": true
    },
    "DirectoryId": {
      "Type": "String",
      "Description": {
        "ja": "ディレクトリの ID。"
      },
      "Required": true
    },
    "Description": {
      "AssociationProperty": "TextArea",
      "Type": "String",
      "Description": {
        "ja": "グループの説明。\n説明は最大 1,024 文字まで指定できます。"
      },
      "Required": false,
      "MaxLength": 1024
    }
  },
  "Resources": {
    "Group": {
      "Type": "ALIYUN::CloudSSO::Group",
      "Properties": {
        "GroupName": {
          "Ref": "GroupName"
        },
        "DirectoryId": {
          "Ref": "DirectoryId"
        },
        "Description": {
          "Ref": "Description"
        }
      }
    }
  },
  "Outputs": {
    "GroupId": {
      "Description": "グループの ID。",
      "Value": {
        "Fn::GetAtt": [
          "Group",
          "GroupId"
        ]
      }
    }
  }
}