ALIYUN::ResourceManager::Handshake は、招待を作成するために使用されます。
構文
{
"Type": "ALIYUN::ResourceManager::Handshake",
"Properties": {
"Note": String, // 招待の備考
"TargetType": String, // 招待されるアカウントのタイプ
"TargetEntity": String // 招待されるアカウントの ID またはログオンメールアドレス
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| Note | String | いいえ | いいえ | 招待の備考。 | なし |
| TargetType | String | はい | いいえ | 招待されるアカウントのタイプ。 | 有効な値:
|
| TargetEntity | String | はい | いいえ | 招待されるアカウントの ID またはログオンメールアドレス。 | なし |
レスポンスパラメータ
Fn::GetAtt
- ResourceDirectoryId: リソースディレクトリの ID。
- HandshakeId: 招待の ID。
- Note: 招待の備考。
- TargetType: 招待されるアカウントのタイプ。
- TargetEntity: 招待されるアカウントの ID またはログオンメールアドレス。
- MasterAccountName: マスターアカウントの名前。
- MasterAccountId: マスターアカウントの ID。
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Note": { // 備考
"Type": "String",
"Description": "Remarks" // 備考
},
"TargetType": { // 招待されるアカウントのタイプ
"Type": "String",
"Description": "Type of account being invited. Valid values: Account, Email" // 招待されるアカウントのタイプ。有効な値:Account、Email
},
"TargetEntity": { // 招待されるアカウント ID またはログインメール
"Type": "String",
"Description": "Invited account ID or login email" // 招待されるアカウント ID またはログインメール
}
},
"Resources": {
"ResourceManagerHandshake": {
"Type": "ALIYUN::ResourceManager::Handshake",
"Properties": {
"Note": { // 備考
"Ref": "Note"
},
"TargetType": { // 招待されるアカウントのタイプ
"Ref": "TargetType"
},
"TargetEntity": { // 招待されるアカウント ID またはログインメール
"Ref": "TargetEntity"
}
}
}
},
"Outputs": {
"ResourceDirectoryId": { // リソースディレクトリ ID
"Description": "Resource directory ID", // リソースディレクトリ ID
"Value": {
"Fn::GetAtt": [
"ResourceManagerHandshake",
"ResourceDirectoryId"
]
}
},
"HandshakeId": { // Resource Manager ハンドシェイクの ID
"Description": "This ID of Resource Manager handshake", // Resource Manager ハンドシェイクの ID
"Value": {
"Fn::GetAtt": [
"ResourceManagerHandshake",
"HandshakeId"
]
}
},
"Note": { // 備考
"Description": "Remarks", // 備考
"Value": {
"Fn::GetAtt": [
"ResourceManagerHandshake",
"Note"
]
}
},
"MasterAccountName": { // リソースディレクトリのメインアカウントの名前
"Description": "The name of the main account of the resource directory", // リソースディレクトリのメインアカウントの名前
"Value": {
"Fn::GetAtt": [
"ResourceManagerHandshake",
"MasterAccountName"
]
}
},
"TargetType": { // 招待されるアカウントのタイプ
"Description": "Type of account being invited. Valid values: Account, Email", // 招待されるアカウントのタイプ。有効な値:Account、Email
"Value": {
"Fn::GetAtt": [
"ResourceManagerHandshake",
"TargetType"
]
}
},
"MasterAccountId": { // リソースアカウントマスターアカウント ID
"Description": "Resource account master account ID", // リソースアカウントマスターアカウント ID
"Value": {
"Fn::GetAtt": [
"ResourceManagerHandshake",
"MasterAccountId"
]
}
},
"TargetEntity": { // 招待されるアカウント ID またはログインメール
"Description": "Invited account ID or login email", // 招待されるアカウント ID またはログインメール
"Value": {
"Fn::GetAtt": [
"ResourceManagerHandshake",
"TargetEntity"
]
}
}
}
}YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Note: # 備考
Type: String
Description: Remarks # 備考
TargetType: # 招待されるアカウントのタイプ
Type: String
Description: 'Type of account being invited. Valid values: Account, Email' # 招待されるアカウントのタイプ。有効な値:Account、Email
TargetEntity: # 招待されるアカウント ID またはログインメール
Type: String
Description: Invited account ID or login email # 招待されるアカウント ID またはログインメール
Resources:
ResourceManagerHandshake:
Type: 'ALIYUN::ResourceManager::Handshake'
Properties:
Note: # 備考
Ref: Note
TargetType: # 招待されるアカウントのタイプ
Ref: TargetType
TargetEntity: # 招待されるアカウント ID またはログインメール
Ref: TargetEntity
Outputs:
ResourceDirectoryId: # リソースディレクトリ ID
Description: Resource directory ID # リソースディレクトリ ID
Value:
'Fn::GetAtt':
- ResourceManagerHandshake
- ResourceDirectoryId
HandshakeId: # Resource Manager ハンドシェイクの ID
Description: This ID of Resource Manager handshake # Resource Manager ハンドシェイクの ID
Value:
'Fn::GetAtt':
- ResourceManagerHandshake
- HandshakeId
Note: # 備考
Description: Remarks # 備考
Value:
'Fn::GetAtt':
- ResourceManagerHandshake
- Note
MasterAccountName: # リソースディレクトリのメインアカウントの名前
Description: The name of the main account of the resource directory # リソースディレクトリのメインアカウントの名前
Value:
'Fn::GetAtt':
- ResourceManagerHandshake
- MasterAccountName
TargetType: # 招待されるアカウントのタイプ
Description: 'Type of account being invited. Valid values: Account, Email' # 招待されるアカウントのタイプ。有効な値:Account、Email
Value:
'Fn::GetAtt':
- ResourceManagerHandshake
- TargetType
MasterAccountId: # リソースアカウントマスターアカウント ID
Description: Resource account master account ID # リソースアカウントマスターアカウント ID
Value:
'Fn::GetAtt':
- ResourceManagerHandshake
- MasterAccountId
TargetEntity: # 招待されるアカウント ID またはログインメール
Description: Invited account ID or login email # 招待されるアカウント ID またはログインメール
Value:
'Fn::GetAtt':
- ResourceManagerHandshake
- TargetEntity