VpcEndpointArgs

data class VpcEndpointArgs(val dryRun: Output<Boolean>? = null, val endpointDescription: Output<String>? = null, val securityGroupIds: Output<List<String>>? = null, val serviceId: Output<String>? = null, val serviceName: Output<String>? = null, val vpcEndpointName: Output<String>? = null, val vpcId: Output<String>? = null) : ConvertibleToJava<VpcEndpointArgs>

Provides a Private Link Vpc Endpoint resource. For information about Private Link Vpc Endpoint and how to use it, see What is Vpc Endpoint.

NOTE: Available in v1.109.0+.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.privatelink.VpcEndpoint;
import com.pulumi.alicloud.privatelink.VpcEndpointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new VpcEndpoint("example", VpcEndpointArgs.builder()
.securityGroupId("sg-ercx1234")
.serviceId("YourServiceId")
.vpcId("YourVpcId")
.build());
}
}

Import

Private Link Vpc Endpoint can be imported using the id, e.g.

$ pulumi import alicloud:privatelink/vpcEndpoint:VpcEndpoint example <endpoint_id>

Constructors

Link copied to clipboard
fun VpcEndpointArgs(dryRun: Output<Boolean>? = null, endpointDescription: Output<String>? = null, securityGroupIds: Output<List<String>>? = null, serviceId: Output<String>? = null, serviceName: Output<String>? = null, vpcEndpointName: Output<String>? = null, vpcId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VpcEndpointArgs

Properties

Link copied to clipboard
val dryRun: Output<Boolean>? = null

The dry run. Default to: false.

Link copied to clipboard
val endpointDescription: Output<String>? = null

The description of Vpc Endpoint. The length is 2~256 characters and cannot start with http:// and https://.

Link copied to clipboard
val securityGroupIds: Output<List<String>>? = null

The security group associated with the terminal node network card.

Link copied to clipboard
val serviceId: Output<String>? = null

The terminal node service associated with the terminal node.

Link copied to clipboard
val serviceName: Output<String>? = null

The name of the terminal node service associated with the terminal node.

Link copied to clipboard
val vpcEndpointName: Output<String>? = null

The name of Vpc Endpoint. The length is between 2 and 128 characters, starting with English letters or Chinese, and can include numbers, hyphens (-) and underscores (_).

Link copied to clipboard
val vpcId: Output<String>? = null

The private network to which the terminal node belongs.