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

Resource Orchestration Service:ALIYUN::RDS::ADInfo

最終更新日:Jan 16, 2025

ALIYUN::RDS::ADInfo は、Active Directory ドメインサービス (AD DS) を構成するために使用されます。

構文

{
  "Type": "ALIYUN::RDS::ADInfo",
  "Properties": {
    "ADServerIpAddress": String,
    "ADDNS": String,
    "DBInstanceId": String,
    "ADPassword": String,
    "ADAccountName": String
  }
}

プロパティ

プロパティタイプ必須編集可能説明制約
ADServerIpAddressStringはいいいえAD サーバーの IP アドレス。AD サーバーと ApsaraDB for RDS インスタンスは、同じ VPC 内にある必要があります。
ADDNSStringはいいいえAD ドメイン名。なし
DBInstanceIdStringはいいいえApsaraDB for RDS インスタンスの ID。なし
ADPasswordStringはいいいえAD ドメインアカウントのパスワード。なし
ADAccountNameStringはいいいえAD ドメインのアカウント。なし

レスポンスパラメーター

Fn::GetAtt

  • ADDNS: AD ドメイン名。
  • DBInstanceId: ApsaraDB for RDS インスタンスの ID。

JSON 形式

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "ADServerIpAddress": {
      "Type": "String",
      "Description": "The IP address of the AD server, it must be in the same VPC as the RDS." // AD サーバーの IP アドレス。RDS と同じ VPC 内にある必要があります。
    },
    "ADDNS": {
      "Type": "String",
      "Description": "Active directory domain name." // Active Directory ドメイン名。
    },
    "DBInstanceId": {
      "Type": "String",
      "Description": "The ID of the instance." // インスタンスの ID。
    },
    "ADPassword": {
      "Type": "String",
      "Description": "Domain password. " // ドメインパスワード。
    },
    "ADAccountName": {
      "Type": "String",
      "Description": "Domain account name. " // ドメインアカウント名。
    }
  },
  "Resources": {
    "AdInfo": {
      "Type": "ALIYUN::RDS::ADInfo",
      "Properties": {
        "ADServerIpAddress": {
          "Ref": "ADServerIpAddress"
        },
        "ADDNS": {
          "Ref": "ADDNS"
        },
        "DBInstanceId": {
          "Ref": "DBInstanceId"
        },
        "ADPassword": {
          "Ref": "ADPassword"
        },
        "ADAccountName": {
          "Ref": "ADAccountName"
        }
      }
    }
  },
  "Outputs": {
    "ADDNS": {
      "Description": "Active directory domain name.", // Active Directory ドメイン名。
      "Value": {
        "Fn::GetAtt": [
          "AdInfo",
          "ADDNS"
        ]
      }
    },
    "DBInstanceId": {
      "Description": "The ID of the instance.", // インスタンスの ID。
      "Value": {
        "Fn::GetAtt": [
          "AdInfo",
          "DBInstanceId"
        ]
      }
    }
  }
}

YAML 形式

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
 ADServerIpAddress:
  Type: String
  Description: 'The IP address of the AD server, it must be in the same VPC as the RDS.' # AD サーバーの IP アドレス。RDS と同じ VPC 内にある必要があります。
 ADDNS:
  Type: String
  Description: Active directory domain name. # Active Directory ドメイン名。
 DBInstanceId:
  Type: String
  Description: The ID of the instance. # インスタンスの ID。
 ADPassword:
  Type: String
  Description: 'Domain password. ' # ドメインパスワード。
 ADAccountName:
  Type: String
  Description: 'Domain account name. ' # ドメインアカウント名。
Resources:
 AdInfo:
  Type: 'ALIYUN::RDS::ADInfo'
  Properties:
   ADServerIpAddress:
    Ref: ADServerIpAddress
   ADDNS:
    Ref: ADDNS
   DBInstanceId:
    Ref: DBInstanceId
   ADPassword:
    Ref: ADPassword
   ADAccountName:
    Ref: ADAccountName
Outputs:
 ADDNS:
  Description: Active directory domain name. # Active Directory ドメイン名。
  Value:
   'Fn::GetAtt':
    - AdInfo
    - ADDNS
 DBInstanceId:
  Description: The ID of the instance. # インスタンスの ID。
  Value:
   'Fn::GetAtt':
    - AdInfo
    - DBInstanceId