O recurso ALIYUN::CLOUDFW::AllFwSwitch ativa todos os switches de firewall.
Sintaxe
{
"Type": "ALIYUN::CLOUDFW::AllFwSwitch",
"Properties": {
"InstanceId": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
InstanceId |
String |
Não |
Não |
ID da instância do Cloud Firewall. |
Nenhuma. |
Valores de retorno
Fn::GetAtt
Nenhum.
Exemplos
Formato YAML
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
InstanceId:
Description:
en: The ID of the cloud firewall instance.
Required: false
Type: String
Resources:
AllFwSwitch:
Properties:
InstanceId:
Ref: InstanceId
Type: ALIYUN::CLOUDFW::AllFwSwitch
Formato JSON
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"InstanceId": {
"Type": "String",
"Description": {
"en": "The ID of the cloud firewall instance."
},
"Required": false
}
},
"Resources": {
"AllFwSwitch": {
"Type": "ALIYUN::CLOUDFW::AllFwSwitch",
"Properties": {
"InstanceId": {
"Ref": "InstanceId"
}
}
}
}
}