ALIYUN::CEN::TransitRouterMulticastDomainAssociation associates a VSwitch in a Virtual Private Cloud (VPC) with a multicast domain.
Syntax
{
"Type": "ALIYUN::CEN::TransitRouterMulticastDomainAssociation",
"Properties": {
"TransitRouterAttachmentId": String,
"TransitRouterMulticastDomainId": String,
"VSwitchId": String
}
}
Properties
|
Parameter |
Type |
Required |
Update allowed |
Description |
Constraints |
|
TransitRouterAttachmentId |
String |
Yes |
No |
The ID of the VPC connection. |
None |
|
TransitRouterMulticastDomainId |
String |
Yes |
No |
The ID of the multicast domain. |
None |
|
VSwitchId |
String |
Yes |
No |
The ID of the VSwitch. |
None |
Outputs
Fn::GetAtt
-
TransitRouterAttachmentId: The ID of the VPC connection.
-
TransitRouterMulticastDomainId: The ID of the multicast domain.
-
VSwitchId: The ID of the VSwitch.
Examples
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
TransitRouterAttachmentId:
Type: String
Description: The ID of the VPC connection.
Required: true
TransitRouterMulticastDomainId:
Type: String
Description: The ID of the multicast domain.
Required: true
VSwitchId:
AssociationPropertyMetadata:
VpcId: ${VpcId}
ZoneId: ${ZoneId}
AssociationProperty: ALIYUN::VPC::VSwitch::VSwitchId
Type: String
Description: The ID of the VSwitch.
Required: true
Resources:
ExtensionResource:
Type: ALIYUN::CEN::TransitRouterMulticastDomainAssociation
Properties:
TransitRouterAttachmentId:
Ref: TransitRouterAttachmentId
TransitRouterMulticastDomainId:
Ref: TransitRouterMulticastDomainId
VSwitchId:
Ref: VSwitchId
Outputs:
TransitRouterAttachmentId:
Description: The ID of the VPC connection.
Value:
Fn::GetAtt:
- ExtensionResource
- TransitRouterAttachmentId
TransitRouterMulticastDomainId:
Description: The ID of the multicast domain.
Value:
Fn::GetAtt:
- ExtensionResource
- TransitRouterMulticastDomainId
VSwitchId:
Description: The ID of the VSwitch.
Value:
Fn::GetAtt:
- ExtensionResource
- VSwitchId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"TransitRouterAttachmentId": {
"Type": "String",
"Description": "The ID of the VPC connection.",
"Required": true
},
"TransitRouterMulticastDomainId": {
"Type": "String",
"Description": "The ID of the multicast domain.",
"Required": true
},
"VSwitchId": {
"AssociationPropertyMetadata": {
"VpcId": "${VpcId}",
"ZoneId": "${ZoneId}"
},
"AssociationProperty": "ALIYUN::VPC::VSwitch::VSwitchId",
"Type": "String",
"Description": "The ID of the VSwitch.",
"Required": true
}
},
"Resources": {
"ExtensionResource": {
"Type": "ALIYUN::CEN::TransitRouterMulticastDomainAssociation",
"Properties": {
"TransitRouterAttachmentId": {
"Ref": "TransitRouterAttachmentId"
},
"TransitRouterMulticastDomainId": {
"Ref": "TransitRouterMulticastDomainId"
},
"VSwitchId": {
"Ref": "VSwitchId"
}
}
}
},
"Outputs": {
"TransitRouterAttachmentId": {
"Description": "The ID of the VPC connection.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"TransitRouterAttachmentId"
]
}
},
"TransitRouterMulticastDomainId": {
"Description": "The ID of the multicast domain.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"TransitRouterMulticastDomainId"
]
}
},
"VSwitchId": {
"Description": "The ID of the VSwitch.",
"Value": {
"Fn::GetAtt": [
"ExtensionResource",
"VSwitchId"
]
}
}
}
}