ALIYUN::VS::Group は、グループを作成するために使用されます。
構文
{
"Type": "ALIYUN::VS::Group",
"Properties": {
"OutProtocol": String,
"Name": String,
"App": String,
"Enabled": Boolean,
"Callback": String,
"InProtocol": String,
"Region": String,
"PlayDomain": String,
"LazyPull": Boolean,
"PushDomain": String,
"Description": String
}
}プロパティ
| プロパティ | タイプ | 必須 | 編集可能 | 説明 | 制約 |
| OutProtocol | String | はい | はい | グループが使用する再生プロトコル。 | 有効な値:
|
| Name | String | はい | はい | グループの名前。 | 名前は 4 ~ 64 文字で、文字、数字、およびハイフン (-) を使用できます。 |
| App | String | いいえ | いいえ | グループが使用するアプリケーションの名前。 | デフォルト値:live。名前には、文字、数字、アンダースコア (_)、およびハイフン (-) を使用できます。 |
| Enabled | Boolean | いいえ | はい | グループを有効にするかどうかを指定します。 | デフォルト値:false。有効な値:
|
| Callback | String | いいえ | はい | デバイスまたはストリームのステータスが更新されたときに通知が送信されるコールバック URL。 | なし |
| InProtocol | String | はい | はい | グループが使用するアクセスプロトコル。 | 有効な値:
|
| Region | String | はい | はい | グループが存在するリージョン。サービスセンターとも呼ばれます。 | なし |
| PlayDomain | String | はい | はい | グループが使用するストリーミングドメイン。 | なし |
| LazyPull | Boolean | いいえ | はい | オンデマンドストリームプルを有効にするかどうかを指定します。 | デフォルト値:false。有効な値:
|
| PushDomain | String | はい | はい | グループが使用する取り込みドメイン。 | このパラメーターは、InProtocol パラメーターが rtmp に設定されている場合にのみ有効になります。 |
| Description | String | いいえ | はい | グループの説明。 | なし |
レスポンスパラメーター
Fn::GetAtt
- GbIp: グループが提供する GB28181 シグナリングサーバーの IP アドレス。GbIp は、GB28181 プロトコルを使用するグループにのみ適用されます。
- GbId: グループが提供する、国家標準 GB/T28181 で使用される ID。GbId は、GB28181 プロトコルを使用するグループにのみ適用されます。
- GbPort: グループが提供する GB28181 シグナリングサーバーのポート。GbPort は、GB28181 プロトコルを使用するグループにのみ適用されます。
- Id: グループの ID。
例
JSON 形式
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"Group": {
"Type": "ALIYUN::VS::Group",
"Properties": {
"LazyPull": {
"Ref": "LazyPull"
},
"Name": {
"Ref": "Name"
},
"App": {
"Ref": "App"
},
"Enabled": {
"Ref": "Enabled"
},
"PushDomain": {
"Ref": "PushDomain"
},
"Callback": {
"Ref": "Callback"
},
"InProtocol": {
"Ref": "InProtocol"
},
"PlayDomain": {
"Ref": "PlayDomain"
},
"OutProtocol": {
"Ref": "OutProtocol"
},
"Region": {
"Ref": "Region"
},
"Description": {
"Ref": "Description"
}
}
}
},
"Parameters": {
"LazyPull": {
"Type": "Boolean",
"Description": "オンデマンドプルフローを有効にするかどうか。デフォルトは false です。", // Translated comment
"AllowedValues": [
"True",
"true",
"False",
"false"
]
},
"Name": {
"Type": "String",
"Description": "スペース名。" // Translated comment
},
"App": {
"Type": "String",
"Description": "使用するアプリケーション名スペース。デフォルトは live です。" // Translated comment
},
"Enabled": {
"Type": "Boolean",
"Description": "スペースが有効になっています。" // Translated comment
"AllowedValues": [
"True",
"true",
"False",
"false"
]
},
"PushDomain": {
"Type": "String",
"Description": "使用するプラグフローのドメイン名スペース。(スペース rtmp へのアクセスのみ)" // Translated comment
},
"Callback": {
"Type": "String",
"Description": "スペースコールバックデバイス/フローステートの更新" // Translated comment
},
"InProtocol": {
"Type": "String",
"Description": "スペースで使用されるアクセスプロトコル。\n値:gb28181、rtmp" // Translated comment
},
"PlayDomain": {
"Type": "String",
"Description": "ドメイン名スペースブロードキャストストリームの使用。" // Translated comment
},
"OutProtocol": {
"Type": "String",
"Description": "スペースで使用される再生プロトコル。複数値はカンマで区切ります。\n値:flv、hls、rtmp" // Translated comment
},
"Region": {
"Type": "String",
"Description": "スペースが属するリージョン。サービスセンターとして機能します。" // Translated comment
},
"Description": {
"Type": "String",
"Description": "スペースの説明。" // Translated comment
}
},
"Outputs": {
"GbIp": {
"Description": "提供される GB シグナリングサーバーアドレススペース。(マークされた状態のスペースへのアクセスにのみ適用されます)" , // Translated comment
"Value": {
"Fn::GetAtt": [
"Group",
"GbIp"
]
}
},
"GbPort": {
"Description": "提供される GB ポートスペース。(マークされた状態のスペースへのアクセスにのみ適用されます)", // Translated comment
"Value": {
"Fn::GetAtt": [
"Group",
"GbPort"
]
}
},
"GbId": {
"Description": "提供される GB ID スペース。(マークされた状態のスペースへのアクセスにのみ適用されます)", // Translated comment
"Value": {
"Fn::GetAtt": [
"Group",
"GbId"
]
}
},
"Id": {
"Description": "スペース ID。", // Translated comment
"Value": {
"Fn::GetAtt": [
"Group",
"Id"
]
}
}
}
}YAML 形式
ROSTemplateFormatVersion: '2015-09-01'
Resources:
Group:
Type: 'ALIYUN::VS::Group'
Properties:
LazyPull:
Ref: LazyPull
Name:
Ref: Name
App:
Ref: App
Enabled:
Ref: Enabled
PushDomain:
Ref: PushDomain
Callback:
Ref: Callback
InProtocol:
Ref: InProtocol
PlayDomain:
Ref: PlayDomain
OutProtocol:
Ref: OutProtocol
Region:
Ref: Region
Description:
Ref: Description
Parameters:
LazyPull:
Type: Boolean
Description: 'オンデマンドプルフローを有効にするかどうか。デフォルトは false です。' # Translated comment
AllowedValues:
- 'True'
- 'true'
- 'False'
- 'false'
Name:
Type: String
Description: スペース名。 # Translated comment
App:
Type: String
Description: '使用するアプリケーション名スペース。デフォルトは live です。' # Translated comment
Enabled:
Type: Boolean
Description: スペースが有効になっています。 # Translated comment
AllowedValues:
- 'True'
- 'true'
- 'False'
- 'false'
PushDomain:
Type: String
Description: 使用するプラグフローのドメイン名スペース。(スペース rtmp へのアクセスのみ) # Translated comment
Callback:
Type: String
Description: スペースコールバックデバイス/フローステートの更新 # Translated comment
InProtocol:
Type: String
Description: |-
スペースで使用されるアクセスプロトコル。
値:gb28181、rtmp # Translated comment
PlayDomain:
Type: String
Description: ドメイン名スペースブロードキャストストリームの使用。 # Translated comment
OutProtocol:
Type: String
Description: |-
スペースで使用される再生プロトコル。複数値はカンマで区切ります。
値:flv、hls、rtmp # Translated comment
Region:
Type: String
Description: 'スペースが属するリージョン。サービスセンターとして機能します。' # Translated comment
Description:
Type: String
Description: スペースの説明。 # Translated comment
Outputs:
GbIp:
Description: >-
提供される GB シグナリングサーバーアドレススペース。(マークされた状態のスペースへのアクセスにのみ適用されます) # Translated comment
Value:
'Fn::GetAtt':
- Group
- GbIp
GbPort:
Description: 提供される GB ポートスペース。(マークされた状態のスペースへのアクセスにのみ適用されます) # Translated comment
Value:
'Fn::GetAtt':
- Group
- GbPort
GbId:
Description: 提供される GB ID スペース。(マークされた状態のスペースへのアクセスにのみ適用されます) # Translated comment
Value:
'Fn::GetAtt':
- Group
- GbId
Id:
Description: スペース ID。 # Translated comment
Value:
'Fn::GetAtt':
- Group
- Id