ALIYUN::RDS::ADInfo は、Active Directory ドメインサービス (AD DS) を構成するために使用されます。
構文
{
"Type": "ALIYUN::RDS::ADInfo",
"Properties": {
"ADServerIpAddress": String,
"ADDNS": String,
"DBInstanceId": String,
"ADPassword": String,
"ADAccountName": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| ADServerIpAddress | String | はい | いいえ | AD サーバーの IP アドレス。 | AD サーバーと ApsaraDB for RDS インスタンスは、同じ VPC 内にある必要があります。 |
| ADDNS | String | はい | いいえ | AD ドメイン名。 | なし |
| DBInstanceId | String | はい | いいえ | ApsaraDB for RDS インスタンスの ID。 | なし |
| ADPassword | String | はい | いいえ | AD ドメインアカウントのパスワード。 | なし |
| ADAccountName | String | はい | いいえ | 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