Consulta informações de um gateway IPv4 específico.
Sintaxe
{
"Type": "DATASOURCE::VPC::Ipv4Gateway",
"Properties": {
"Ipv4GatewayId": String,
"RefreshOptions": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatório |
Editável |
Descrição |
Restrição |
|
Ipv4GatewayId |
String |
Sim |
Sim |
ID do gateway IPv4. |
Nenhuma. |
|
RefreshOptions |
String |
Não |
Sim |
Política de atualização dos recursos da source de dados durante a atualização da pilha. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
Ipv4GatewayName: nome do gateway IPv4.
Ipv4GatewayRouteTableId: ID da tabela de rotas associada ao gateway IPv4.
Ipv4GatewayId: ID do gateway IPv4.
VpcId: ID da Virtual Private Cloud (VPC) associada ao gateway IPv4.
CreateTime: hora de criação do gateway IPv4.
Enabled: indica se o gateway IPv4 está ativado.
Ipv4GatewayDescription: descrição do gateway IPv4.
Exemplos
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
Ipv4GatewayId:
Description:
en: The resource attribute field that represents the resource level 1 ID.
Required: true
Type: String
Resources:
ExtensionDataSource:
Properties:
Ipv4GatewayId:
Ref: Ipv4GatewayId
Type: DATASOURCE::VPC::Ipv4Gateway
Outputs:
CreateTime:
Description: The creation time of the resource.
Value:
Fn::GetAtt:
- ExtensionDataSource
- CreateTime
Enabled:
Description: Enabled.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Enabled
Ipv4GatewayDescription:
Description: Description information.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Ipv4GatewayDescription
Ipv4GatewayId:
Description: The resource attribute field that represents the resource level 1
ID.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Ipv4GatewayId
Ipv4GatewayName:
Description: Resource name.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Ipv4GatewayName
Ipv4GatewayRouteTableId:
Description: ID of the route table associated with IPv4 Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- Ipv4GatewayRouteTableId
VpcId:
Description: The ID of the VPC associated with the IPv4 Gateway.
Value:
Fn::GetAtt:
- ExtensionDataSource
- VpcId
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"Ipv4GatewayId": {
"Type": "String",
"Description": {
"en": "The resource attribute field that represents the resource level 1 ID."
},
"Required": true
}
},
"Resources": {
"ExtensionDataSource": {
"Type": "DATASOURCE::VPC::Ipv4Gateway",
"Properties": {
"Ipv4GatewayId": {
"Ref": "Ipv4GatewayId"
}
}
}
},
"Outputs": {
"Ipv4GatewayName": {
"Description": "Resource name.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Ipv4GatewayName"
]
}
},
"Ipv4GatewayRouteTableId": {
"Description": "ID of the route table associated with IPv4 Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Ipv4GatewayRouteTableId"
]
}
},
"Ipv4GatewayId": {
"Description": "The resource attribute field that represents the resource level 1 ID.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Ipv4GatewayId"
]
}
},
"VpcId": {
"Description": "The ID of the VPC associated with the IPv4 Gateway.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"VpcId"
]
}
},
"CreateTime": {
"Description": "The creation time of the resource.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"CreateTime"
]
}
},
"Enabled": {
"Description": "Enabled.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Enabled"
]
}
},
"Ipv4GatewayDescription": {
"Description": "Description information.",
"Value": {
"Fn::GetAtt": [
"ExtensionDataSource",
"Ipv4GatewayDescription"
]
}
}
}
}