Updated on 2023-12-13 GMT+08:00

VPCEndpoint.Endpoint

Element Description

The VPCEndpoint.Endpoint element is used to create a VPC endpoint. VPC endpoints are channels for connecting VPCs to VPC endpoint services. You can create an application in your VPC and configure it as an endpoint service. An endpoint can be created in another VPC in the same region and then used as a channel to access the endpoint service.

Element Properties

Table 1 Property Description

Property

Required

Descripiton

subnetId

Yes

Type: string

vpcId

Yes

Type: HuaweiCloud.VPC.VPC.Id

endpointServiceId

Yes

Type: string

enableDns

No

Type: boolean

Default: True

Relationships Between Elements

Table 2 Relationship description

Description

Target

ContainedIn

VPCEndpoint.EndpointService

Return Value

Property

Type

Description

subnetId

string

vpcId

string

Value of the VPCendpoint's VPC ID

endpointServiceId

string

Blueprint Example

tosca_definitions_version: huaweicloud_tosca_version_1_0
node_templates:
  my-endpoint:
    type: HuaweiCloud.VPCEndpoint.Endpoint
    properties:
      subnetId:
        get_input: my-subnet
      vpcId:
        get_input: my-vpc
      endpointServiceId:
        get_input: my-endpointserviceid
inputs:
  my-subnet:
    description: ID of the created network
  my-vpc:
    description: ID of the VPC
  my-endpointserviceid:
    description: ID of the VPC endpoint service