Consulta os detalhes de uma regra de encaminhamento do PrivateZone.
Sinopse
{
"Type": "DATASOURCE::PVTZ::Rule",
"Properties": {
"RuleId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
RuleId |
String |
Sim |
Sim |
ID da regra de encaminhamento. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos de source ao atualizar a pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
ForwardIp: endereço IP de destino.
ZoneName: nome da zona de encaminhamento.
Vpcs: Virtual Private Clouds (VPCs) associadas.
Type: tipo de encaminhamento.
EndpointName: nome do endpoint.
EndpointId: ID do endpoint.
CreateTime: horário de criação da regra de encaminhamento.
RuleName: nome da regra de encaminhamento.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
RuleId:
Type: String
Description:
en: The ID of the forwarding rule.
Required: true
Resources:
ExtensionDataSource:
Type: DATASOURCE::PVTZ::Rule
Properties:
RuleId:
Ref: RuleId
Outputs:
ForwardIp:
Description: The destination IP address.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ForwardIp
ZoneName:
Description: The name of the forward zone.
Value:
Fn::GetAtt:
- ExtensionDataSource
- ZoneName
Vpcs:
Description: The virtual private clouds (VPCs) that are associated with the forwarding rule.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Vpcs
Type:
Description: 'The type of the forwarding rule. '
Value:
Fn::GetAtt:
- ExtensionDataSource
- Type
EndpointName:
Description: The endpoint name.
Value:
Fn::GetAtt:
- ExtensionDataSource
- EndpointName
EndpointId:
Description: The endpoint ID.
Value:
Fn::GetAtt:
- ExtensionDataSource
- EndpointId
CreateTime:
Description: The time when the forwarding rule was created.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
RuleName:
Description: The name of the forwarding rule.
Value:
Fn::GetAtt:
- ExtensionDataSource
- RuleName
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"RuleId": {
"Type": "String",
"Description": {
"en": "The ID of the forwarding rule."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::PVTZ::Rule",
"Properties": {
"RuleId": {
"Ref": "RuleId"
}
}
}
},
"Outputs": {
"ForwardIp": {
"Description": "The destination IP address.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ForwardIp"
]
}
},
"ZoneName": {
"Description": "The name of the forward zone.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"ZoneName"
]
}
},
"Vpcs": {
"Description": "The virtual private clouds (VPCs) that are associated with the forwarding rule.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Vpcs"
]
}
},
"Type": {
"Description": "The type of the forwarding rule. ",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Type"
]
}
},
"EndpointName": {
"Description": "The endpoint name.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"EndpointName"
]
}
},
"EndpointId": {
"Description": "The endpoint ID.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"EndpointId"
]
}
},
"CreateTime": {
"Description": "The time when the forwarding rule was created.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"RuleName": {
"Description": "The name of the forwarding rule.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"RuleName"
]
}
}
}
}