alicloud_api_gateway_backend
更新时间:
Provides a Api Gateway Backend resource.
For information about Api Gateway Backend and how to use it, see What is Backend.
-> NOTE: Available since v1.181.0.
Example Usage
Basic Usage
variable "name" {
default = "tf_example"
}
resource "alicloud_api_gateway_backend" "default" {
backend_name = var.name
description = var.name
backend_type = "HTTP"
}
Argument Reference
The following arguments are supported:
backend_type
- (Required, ForceNew) The type of the Backend. Valid values:HTTP
,VPC
,FC_EVENT
,FC_HTTP
,OSS
,MOCK
.backend_name
- (Required) The name of the Backend.create_event_bridge_service_linked_role
- (Optional, ForceNew) Whether to create an Event bus service association role.description
- (Optional) The description of the Backend.
Attributes Reference
The following attributes are exported:
id
- The resource ID in terraform of Backend.
Import
Api Gateway Backend can be imported using the id, e.g.
$ terraform import alicloud_api_gateway_backend.example <id>
文档内容是否对您有帮助?