Skip to content

VpcEndpointServiceAttachmentProps

Properties for defining a VpcEndpointServiceAttachment.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-privatelink-vpcendpointserviceattachment

Initializer

import com.aliyun.ros.cdk.privatelink.VpcEndpointServiceAttachmentProps;
VpcEndpointServiceAttachmentProps.builder()
    .resourceId(java.lang.String)
    .resourceId(IResolvable)
    .resourceType(java.lang.String)
    .resourceType(IResolvable)
    .serviceId(java.lang.String)
    .serviceId(IResolvable)
//  .zoneId(java.lang.String)
//  .zoneId(IResolvable)
    .build();

Properties

Name Type Description
resourceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceId: The resource id.
resourceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property resourceType: The type of the service resource.
serviceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property serviceId: The endpoint service that is associated with the endpoint.
zoneId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property zoneId: The zone where the service resource is located.

resourceIdRequired

public java.lang.Object getResourceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceId: The resource id.


resourceTypeRequired

public java.lang.Object getResourceType();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property resourceType: The type of the service resource.

Valid values:

  • slb: Classic Load Balancer (CLB).
  • alb: Application Load Balancer (ALB).
  • nlb: Network Load Balancer (NLB).
  • gwlb: Gateway Load Balancer (GWLB).

serviceIdRequired

public java.lang.Object getServiceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property serviceId: The endpoint service that is associated with the endpoint.


zoneIdOptional

public java.lang.Object getZoneId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property zoneId: The zone where the service resource is located.

This parameter is required if the service resource is an ALB, NLB, or GWLB instance.