VpcEndpointServiceArgs

data class VpcEndpointServiceArgs(val addressIpVersion: Output<String>? = null, val autoAcceptConnection: Output<Boolean>? = null, val connectBandwidth: Output<Int>? = null, val dryRun: Output<Boolean>? = null, val payer: Output<String>? = null, val resourceGroupId: Output<String>? = null, val serviceDescription: Output<String>? = null, val serviceResourceType: Output<String>? = null, val serviceSupportIpv6: Output<Boolean>? = null, val tags: Output<Map<String, String>>? = null, val zoneAffinityEnabled: Output<Boolean>? = null) : ConvertibleToJava<VpcEndpointServiceArgs>

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

NOTE: Available since v1.109.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf_example";
const example = new alicloud.privatelink.VpcEndpointService("example", {
serviceDescription: name,
connectBandwidth: 103,
autoAcceptConnection: false,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf_example"
example = alicloud.privatelink.VpcEndpointService("example",
service_description=name,
connect_bandwidth=103,
auto_accept_connection=False)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf_example";
var example = new AliCloud.PrivateLink.VpcEndpointService("example", new()
{
ServiceDescription = name,
ConnectBandwidth = 103,
AutoAcceptConnection = false,
});
});
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/privatelink"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf_example"
if param := cfg.Get("name"); param != "" {
name = param
}
_, err := privatelink.NewVpcEndpointService(ctx, "example", &privatelink.VpcEndpointServiceArgs{
ServiceDescription: pulumi.String(name),
ConnectBandwidth: pulumi.Int(103),
AutoAcceptConnection: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.privatelink.VpcEndpointService;
import com.pulumi.alicloud.privatelink.VpcEndpointServiceArgs;
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) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf_example");
var example = new VpcEndpointService("example", VpcEndpointServiceArgs.builder()
.serviceDescription(name)
.connectBandwidth(103)
.autoAcceptConnection(false)
.build());
}
}
configuration:
name:
type: string
default: tf_example
resources:
example:
type: alicloud:privatelink:VpcEndpointService
properties:
serviceDescription: ${name}
connectBandwidth: 103
autoAcceptConnection: false

Import

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

$ pulumi import alicloud:privatelink/vpcEndpointService:VpcEndpointService example <id>

Constructors

Link copied to clipboard
constructor(addressIpVersion: Output<String>? = null, autoAcceptConnection: Output<Boolean>? = null, connectBandwidth: Output<Int>? = null, dryRun: Output<Boolean>? = null, payer: Output<String>? = null, resourceGroupId: Output<String>? = null, serviceDescription: Output<String>? = null, serviceResourceType: Output<String>? = null, serviceSupportIpv6: Output<Boolean>? = null, tags: Output<Map<String, String>>? = null, zoneAffinityEnabled: Output<Boolean>? = null)

Properties

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

The IP address version.

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

Indicates whether the endpoint service automatically accepts endpoint connection requests. Valid values:

Link copied to clipboard
val connectBandwidth: Output<Int>? = null

The default bandwidth of the endpoint connection. Valid values: 100 to 10240. Unit: Mbit/s.

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

Specifies whether to perform only a dry run, without performing the actual request.

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

The payer of the endpoint service. Valid values:

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

The resource group ID.

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

The description of the endpoint service.

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

Service resource type, value:

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

Specifies whether to enable IPv6 for the endpoint service. Valid values:

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

The list of tags.

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

Specifies whether to first resolve the domain name of the nearest endpoint that is associated with the endpoint service. Valid values:

Functions

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