VpcEndpointProps
Properties for defining a VpcEndpoint.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-privatelink-vpcendpoint
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkprivatelink"
&alicloudroscdkprivatelink.VpcEndpointProps {
VpcId: interface{},
EndpointDescription: interface{},
EndpointName: interface{},
EndpointType: interface{},
ProtectedEnabled: interface{},
SecurityGroupId: interface{},
ServiceId: interface{},
ServiceName: interface{},
Tags: *[]github.com/alibabacloud-go/ros-cdk/alicloudroscdkprivatelink.RosVpcEndpoint.TagsProperty,
Zone: interface{},
ZonePrivateIpAddressCount: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
VpcId | interface{} | Property vpcId: The VPC to which the endpoint belongs. |
EndpointDescription | interface{} | Property endpointDescription: The description of the endpoint. |
EndpointName | interface{} | Property endpointName: The name of the endpoint. |
EndpointType | interface{} | Property endpointType: The type of the endpoint. |
ProtectedEnabled | interface{} | Property protectedEnabled: Specifies whether to enable user authentication. |
SecurityGroupId | interface{} | Property securityGroupId: The security group associated with the endpoint network interface. |
ServiceId | interface{} | Property serviceId: The endpoint service that is associated with the endpoint. |
ServiceName | interface{} | Property serviceName: The name of the endpoint service that is associated with the endpoint. |
Tags | *[]TagsProperty | Property tags: Tags to attach to instance. |
Zone | interface{} | Property zone: The list of zones for the endpoint. |
ZonePrivateIpAddressCount | interface{} | Property zonePrivateIpAddressCount: The number of private IP addresses that can be used by an elastic network interface (ENI) in each zone. |
VpcIdRequired
VpcId interface{}
- Type: interface{}
Property vpcId: The VPC to which the endpoint belongs.
EndpointDescriptionOptional
EndpointDescription interface{}
- Type: interface{}
Property endpointDescription: The description of the endpoint.
The description must be 2 to 256 characters in length and cannot start with http:// or https://.
EndpointNameOptional
EndpointName interface{}
- Type: interface{}
Property endpointName: The name of the endpoint.
The name must be 2 to 128 characters long, start with a letter or a Chinese character, and can contain digits, hyphens (-), and underscores (_).
EndpointTypeOptional
EndpointType interface{}
- Type: interface{}
Property endpointType: The type of the endpoint.
Valid values:
- Interface: an interface endpoint. You can add Application Load Balancer (ALB), CLB, and Network Load Balancer (NLB) instances as service resources.
- Reverse: a reverse endpoint. You can add a VPC NAT Gateway as a service resource.
- GatewayLoadBalancer: a Gateway Load Balancer endpoint. You can add a Gateway Load Balancer (GWLB) as a service resource.
Services that support reverse endpoints are provided exclusively by the cloud platform and its partners. You cannot create them by default. To request access, contact your account manager.
ProtectedEnabledOptional
ProtectedEnabled interface{}
- Type: interface{}
Property protectedEnabled: Specifies whether to enable user authentication.
This parameter is available in Security Token Service (STS) mode. Valid values: true: yes After user authentication is enabled, only the user who creates the endpoint can modify or delete the endpoint in STS mode. false (default): no
SecurityGroupIdOptional
SecurityGroupId interface{}
- Type: interface{}
Property securityGroupId: The security group associated with the endpoint network interface.
The security group can control the data communication from the VPC to the endpoint network interface.
ServiceIdOptional
ServiceId interface{}
- Type: interface{}
Property serviceId: The endpoint service that is associated with the endpoint.
One of ServiceId and ServiceName is required.
ServiceNameOptional
ServiceName interface{}
- Type: interface{}
Property serviceName: The name of the endpoint service that is associated with the endpoint.
One of ServiceId and ServiceName is required.
TagsOptional
Tags *[]TagsProperty
- Type: *[]TagsProperty
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.
ZoneOptional
Zone interface{}
- Type: interface{}
Property zone: The list of zones for the endpoint.
ZonePrivateIpAddressCountOptional
ZonePrivateIpAddressCount interface{}
- Type: interface{}
Property zonePrivateIpAddressCount: The number of private IP addresses that can be used by an elastic network interface (ENI) in each zone.
Set the value to 1.