flexibleengine.VpcepService
Explore with Pulumi AI
Provides a resource to manage a VPC endpoint service resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const config = new pulumi.Config();
const vmPort = config.requireObject("vmPort");
const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
const demo = new flexibleengine.VpcepService("demo", {
serverType: "VM",
vpcId: exampleVpc.vpcV1Id,
portId: vmPort,
portMappings: [{
servicePort: 8080,
terminalPort: 80,
}],
});
import pulumi
import pulumi_flexibleengine as flexibleengine
config = pulumi.Config()
vm_port = config.require_object("vmPort")
example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
demo = flexibleengine.VpcepService("demo",
server_type="VM",
vpc_id=example_vpc.vpc_v1_id,
port_id=vm_port,
port_mappings=[{
"service_port": 8080,
"terminal_port": 80,
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"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, "")
vmPort := cfg.RequireObject("vmPort")
exampleVpc, err := flexibleengine.NewVpcV1(ctx, "exampleVpc", &flexibleengine.VpcV1Args{
Cidr: pulumi.String("192.168.0.0/16"),
})
if err != nil {
return err
}
_, err = flexibleengine.NewVpcepService(ctx, "demo", &flexibleengine.VpcepServiceArgs{
ServerType: pulumi.String("VM"),
VpcId: exampleVpc.VpcV1Id,
PortId: pulumi.Any(vmPort),
PortMappings: flexibleengine.VpcepServicePortMappingArray{
&flexibleengine.VpcepServicePortMappingArgs{
ServicePort: pulumi.Float64(8080),
TerminalPort: pulumi.Float64(80),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var vmPort = config.RequireObject<dynamic>("vmPort");
var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
{
Cidr = "192.168.0.0/16",
});
var demo = new Flexibleengine.VpcepService("demo", new()
{
ServerType = "VM",
VpcId = exampleVpc.VpcV1Id,
PortId = vmPort,
PortMappings = new[]
{
new Flexibleengine.Inputs.VpcepServicePortMappingArgs
{
ServicePort = 8080,
TerminalPort = 80,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.VpcV1;
import com.pulumi.flexibleengine.VpcV1Args;
import com.pulumi.flexibleengine.VpcepService;
import com.pulumi.flexibleengine.VpcepServiceArgs;
import com.pulumi.flexibleengine.inputs.VpcepServicePortMappingArgs;
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 vmPort = config.get("vmPort");
var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
.cidr("192.168.0.0/16")
.build());
var demo = new VpcepService("demo", VpcepServiceArgs.builder()
.serverType("VM")
.vpcId(exampleVpc.vpcV1Id())
.portId(vmPort)
.portMappings(VpcepServicePortMappingArgs.builder()
.servicePort(8080)
.terminalPort(80)
.build())
.build());
}
}
configuration:
vmPort:
type: dynamic
resources:
exampleVpc:
type: flexibleengine:VpcV1
properties:
cidr: 192.168.0.0/16
demo:
type: flexibleengine:VpcepService
properties:
serverType: VM
vpcId: ${exampleVpc.vpcV1Id}
portId: ${vmPort}
portMappings:
- servicePort: 8080
terminalPort: 80
Create VpcepService Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcepService(name: string, args: VpcepServiceArgs, opts?: CustomResourceOptions);
@overload
def VpcepService(resource_name: str,
args: VpcepServiceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcepService(resource_name: str,
opts: Optional[ResourceOptions] = None,
port_id: Optional[str] = None,
port_mappings: Optional[Sequence[VpcepServicePortMappingArgs]] = None,
server_type: Optional[str] = None,
vpc_id: Optional[str] = None,
approval: Optional[bool] = None,
name: Optional[str] = None,
permissions: Optional[Sequence[str]] = None,
region: Optional[str] = None,
service_type: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[VpcepServiceTimeoutsArgs] = None,
vpcep_service_id: Optional[str] = None)
func NewVpcepService(ctx *Context, name string, args VpcepServiceArgs, opts ...ResourceOption) (*VpcepService, error)
public VpcepService(string name, VpcepServiceArgs args, CustomResourceOptions? opts = null)
public VpcepService(String name, VpcepServiceArgs args)
public VpcepService(String name, VpcepServiceArgs args, CustomResourceOptions options)
type: flexibleengine:VpcepService
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VpcepServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VpcepServiceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VpcepServiceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcepServiceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcepServiceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vpcepServiceResource = new Flexibleengine.VpcepService("vpcepServiceResource", new()
{
PortId = "string",
PortMappings = new[]
{
new Flexibleengine.Inputs.VpcepServicePortMappingArgs
{
Protocol = "string",
ServicePort = 0,
TerminalPort = 0,
},
},
ServerType = "string",
VpcId = "string",
Approval = false,
Name = "string",
Permissions = new[]
{
"string",
},
Region = "string",
ServiceType = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Flexibleengine.Inputs.VpcepServiceTimeoutsArgs
{
Create = "string",
Delete = "string",
},
VpcepServiceId = "string",
});
example, err := flexibleengine.NewVpcepService(ctx, "vpcepServiceResource", &flexibleengine.VpcepServiceArgs{
PortId: pulumi.String("string"),
PortMappings: flexibleengine.VpcepServicePortMappingArray{
&flexibleengine.VpcepServicePortMappingArgs{
Protocol: pulumi.String("string"),
ServicePort: pulumi.Float64(0),
TerminalPort: pulumi.Float64(0),
},
},
ServerType: pulumi.String("string"),
VpcId: pulumi.String("string"),
Approval: pulumi.Bool(false),
Name: pulumi.String("string"),
Permissions: pulumi.StringArray{
pulumi.String("string"),
},
Region: pulumi.String("string"),
ServiceType: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &flexibleengine.VpcepServiceTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
VpcepServiceId: pulumi.String("string"),
})
var vpcepServiceResource = new VpcepService("vpcepServiceResource", VpcepServiceArgs.builder()
.portId("string")
.portMappings(VpcepServicePortMappingArgs.builder()
.protocol("string")
.servicePort(0)
.terminalPort(0)
.build())
.serverType("string")
.vpcId("string")
.approval(false)
.name("string")
.permissions("string")
.region("string")
.serviceType("string")
.tags(Map.of("string", "string"))
.timeouts(VpcepServiceTimeoutsArgs.builder()
.create("string")
.delete("string")
.build())
.vpcepServiceId("string")
.build());
vpcep_service_resource = flexibleengine.VpcepService("vpcepServiceResource",
port_id="string",
port_mappings=[{
"protocol": "string",
"service_port": 0,
"terminal_port": 0,
}],
server_type="string",
vpc_id="string",
approval=False,
name="string",
permissions=["string"],
region="string",
service_type="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
},
vpcep_service_id="string")
const vpcepServiceResource = new flexibleengine.VpcepService("vpcepServiceResource", {
portId: "string",
portMappings: [{
protocol: "string",
servicePort: 0,
terminalPort: 0,
}],
serverType: "string",
vpcId: "string",
approval: false,
name: "string",
permissions: ["string"],
region: "string",
serviceType: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
},
vpcepServiceId: "string",
});
type: flexibleengine:VpcepService
properties:
approval: false
name: string
permissions:
- string
portId: string
portMappings:
- protocol: string
servicePort: 0
terminalPort: 0
region: string
serverType: string
serviceType: string
tags:
string: string
timeouts:
create: string
delete: string
vpcId: string
vpcepServiceId: string
VpcepService Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VpcepService resource accepts the following input properties:
- Port
Id string - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- Port
Mappings List<VpcepService Port Mapping> - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- Server
Type string - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- Vpc
Id string - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- Approval bool
- Specifies whether connection approval is required. The default value is false.
- Name string
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- Permissions List<string>
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - Region string
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- Service
Type string - Dictionary<string, string>
- The key/value pairs to associate with the VPC endpoint service.
- Timeouts
Vpcep
Service Timeouts - Vpcep
Service stringId - The unique ID of the VPC endpoint service.
- Port
Id string - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- Port
Mappings []VpcepService Port Mapping Args - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- Server
Type string - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- Vpc
Id string - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- Approval bool
- Specifies whether connection approval is required. The default value is false.
- Name string
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- Permissions []string
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - Region string
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- Service
Type string - map[string]string
- The key/value pairs to associate with the VPC endpoint service.
- Timeouts
Vpcep
Service Timeouts Args - Vpcep
Service stringId - The unique ID of the VPC endpoint service.
- port
Id String - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- port
Mappings List<VpcepService Port Mapping> - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- server
Type String - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- vpc
Id String - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- approval Boolean
- Specifies whether connection approval is required. The default value is false.
- name String
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- permissions List<String>
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - region String
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- service
Type String - Map<String,String>
- The key/value pairs to associate with the VPC endpoint service.
- timeouts
Vpcep
Service Timeouts - vpcep
Service StringId - The unique ID of the VPC endpoint service.
- port
Id string - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- port
Mappings VpcepService Port Mapping[] - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- server
Type string - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- vpc
Id string - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- approval boolean
- Specifies whether connection approval is required. The default value is false.
- name string
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- permissions string[]
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - region string
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- service
Type string - {[key: string]: string}
- The key/value pairs to associate with the VPC endpoint service.
- timeouts
Vpcep
Service Timeouts - vpcep
Service stringId - The unique ID of the VPC endpoint service.
- port_
id str - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- port_
mappings Sequence[VpcepService Port Mapping Args] - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- server_
type str - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- vpc_
id str - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- approval bool
- Specifies whether connection approval is required. The default value is false.
- name str
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- permissions Sequence[str]
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - region str
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- service_
type str - Mapping[str, str]
- The key/value pairs to associate with the VPC endpoint service.
- timeouts
Vpcep
Service Timeouts Args - vpcep_
service_ strid - The unique ID of the VPC endpoint service.
- port
Id String - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- port
Mappings List<Property Map> - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- server
Type String - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- vpc
Id String - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- approval Boolean
- Specifies whether connection approval is required. The default value is false.
- name String
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- permissions List<String>
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - region String
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- service
Type String - Map<String>
- The key/value pairs to associate with the VPC endpoint service.
- timeouts Property Map
- vpcep
Service StringId - The unique ID of the VPC endpoint service.
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcepService resource produces the following output properties:
- Connections
List<Vpcep
Service Connection> - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - The full name of the VPC endpoint service in the format: region.name.id.
- Status string
- The connection status of the VPC endpoint.
- Connections
[]Vpcep
Service Connection - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string - The full name of the VPC endpoint service in the format: region.name.id.
- Status string
- The connection status of the VPC endpoint.
- connections
List<Vpcep
Service Connection> - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - The full name of the VPC endpoint service in the format: region.name.id.
- status String
- The connection status of the VPC endpoint.
- connections
Vpcep
Service Connection[] - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string - The full name of the VPC endpoint service in the format: region.name.id.
- status string
- The connection status of the VPC endpoint.
- connections
Sequence[Vpcep
Service Connection] - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str - The full name of the VPC endpoint service in the format: region.name.id.
- status str
- The connection status of the VPC endpoint.
- connections List<Property Map>
- An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - The full name of the VPC endpoint service in the format: region.name.id.
- status String
- The connection status of the VPC endpoint.
Look up Existing VpcepService Resource
Get an existing VpcepService resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VpcepServiceState, opts?: CustomResourceOptions): VpcepService
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
approval: Optional[bool] = None,
connections: Optional[Sequence[VpcepServiceConnectionArgs]] = None,
name: Optional[str] = None,
permissions: Optional[Sequence[str]] = None,
port_id: Optional[str] = None,
port_mappings: Optional[Sequence[VpcepServicePortMappingArgs]] = None,
region: Optional[str] = None,
server_type: Optional[str] = None,
service_name: Optional[str] = None,
service_type: Optional[str] = None,
status: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[VpcepServiceTimeoutsArgs] = None,
vpc_id: Optional[str] = None,
vpcep_service_id: Optional[str] = None) -> VpcepService
func GetVpcepService(ctx *Context, name string, id IDInput, state *VpcepServiceState, opts ...ResourceOption) (*VpcepService, error)
public static VpcepService Get(string name, Input<string> id, VpcepServiceState? state, CustomResourceOptions? opts = null)
public static VpcepService get(String name, Output<String> id, VpcepServiceState state, CustomResourceOptions options)
resources: _: type: flexibleengine:VpcepService get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Approval bool
- Specifies whether connection approval is required. The default value is false.
- Connections
List<Vpcep
Service Connection> - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- Name string
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- Permissions List<string>
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - Port
Id string - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- Port
Mappings List<VpcepService Port Mapping> - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- Region string
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- Server
Type string - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- Service
Name string - The full name of the VPC endpoint service in the format: region.name.id.
- Service
Type string - Status string
- The connection status of the VPC endpoint.
- Dictionary<string, string>
- The key/value pairs to associate with the VPC endpoint service.
- Timeouts
Vpcep
Service Timeouts - Vpc
Id string - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- Vpcep
Service stringId - The unique ID of the VPC endpoint service.
- Approval bool
- Specifies whether connection approval is required. The default value is false.
- Connections
[]Vpcep
Service Connection Args - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- Name string
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- Permissions []string
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - Port
Id string - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- Port
Mappings []VpcepService Port Mapping Args - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- Region string
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- Server
Type string - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- Service
Name string - The full name of the VPC endpoint service in the format: region.name.id.
- Service
Type string - Status string
- The connection status of the VPC endpoint.
- map[string]string
- The key/value pairs to associate with the VPC endpoint service.
- Timeouts
Vpcep
Service Timeouts Args - Vpc
Id string - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- Vpcep
Service stringId - The unique ID of the VPC endpoint service.
- approval Boolean
- Specifies whether connection approval is required. The default value is false.
- connections
List<Vpcep
Service Connection> - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- name String
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- permissions List<String>
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - port
Id String - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- port
Mappings List<VpcepService Port Mapping> - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- region String
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- server
Type String - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- service
Name String - The full name of the VPC endpoint service in the format: region.name.id.
- service
Type String - status String
- The connection status of the VPC endpoint.
- Map<String,String>
- The key/value pairs to associate with the VPC endpoint service.
- timeouts
Vpcep
Service Timeouts - vpc
Id String - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- vpcep
Service StringId - The unique ID of the VPC endpoint service.
- approval boolean
- Specifies whether connection approval is required. The default value is false.
- connections
Vpcep
Service Connection[] - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- name string
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- permissions string[]
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - port
Id string - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- port
Mappings VpcepService Port Mapping[] - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- region string
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- server
Type string - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- service
Name string - The full name of the VPC endpoint service in the format: region.name.id.
- service
Type string - status string
- The connection status of the VPC endpoint.
- {[key: string]: string}
- The key/value pairs to associate with the VPC endpoint service.
- timeouts
Vpcep
Service Timeouts - vpc
Id string - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- vpcep
Service stringId - The unique ID of the VPC endpoint service.
- approval bool
- Specifies whether connection approval is required. The default value is false.
- connections
Sequence[Vpcep
Service Connection Args] - An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- name str
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- permissions Sequence[str]
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - port_
id str - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- port_
mappings Sequence[VpcepService Port Mapping Args] - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- region str
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- server_
type str - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- service_
name str - The full name of the VPC endpoint service in the format: region.name.id.
- service_
type str - status str
- The connection status of the VPC endpoint.
- Mapping[str, str]
- The key/value pairs to associate with the VPC endpoint service.
- timeouts
Vpcep
Service Timeouts Args - vpc_
id str - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- vpcep_
service_ strid - The unique ID of the VPC endpoint service.
- approval Boolean
- Specifies whether connection approval is required. The default value is false.
- connections List<Property Map>
- An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
- name String
- Specifies the name of the VPC endpoint service. The value contains a maximum of 16 characters, including letters, digits, underscores (_), and hyphens (-).
- permissions List<String>
- Specifies the list of accounts to access the VPC endpoint service.
The record is in the
iam:domain::domain_id
format, while*
allows all users to access the VPC endpoint service. - port
Id String - Specifies the ID for identifying the backend resource of the VPC endpoint service.
- If the
server_type
is VM, the value is the NIC ID of the ECS where the VPC endpoint service is deployed. - If the
server_type
is VIP, the value is the NIC ID of the physical server where virtual resources are created. - If the
server_type
is LB, the value is the ID of the port bound to the private IP address of the load balancer.
- If the
- port
Mappings List<Property Map> - Specified the port mappings opened to the VPC endpoint service. Structure is documented below.
- region String
- The region in which to create the VPC endpoint service. If omitted, the provider-level region will be used. Changing this creates a new VPC endpoint service resource.
- server
Type String - Specifies the backend resource type. The value can be VM, VIP or LB. Changing this creates a new VPC endpoint service.
- service
Name String - The full name of the VPC endpoint service in the format: region.name.id.
- service
Type String - status String
- The connection status of the VPC endpoint.
- Map<String>
- The key/value pairs to associate with the VPC endpoint service.
- timeouts Property Map
- vpc
Id String - Specifies the ID of the VPC to which the backend resource of the VPC endpoint service belongs. Changing this creates a new VPC endpoint service.
- vpcep
Service StringId - The unique ID of the VPC endpoint service.
Supporting Types
VpcepServiceConnection, VpcepServiceConnectionArgs
- Domain
Id string - The user's domain ID.
- Endpoint
Id string - The unique ID of the VPC endpoint.
- Packet
Id double - The packet ID of the VPC endpoint.
- Status string
- The connection status of the VPC endpoint.
- Domain
Id string - The user's domain ID.
- Endpoint
Id string - The unique ID of the VPC endpoint.
- Packet
Id float64 - The packet ID of the VPC endpoint.
- Status string
- The connection status of the VPC endpoint.
- domain
Id String - The user's domain ID.
- endpoint
Id String - The unique ID of the VPC endpoint.
- packet
Id Double - The packet ID of the VPC endpoint.
- status String
- The connection status of the VPC endpoint.
- domain
Id string - The user's domain ID.
- endpoint
Id string - The unique ID of the VPC endpoint.
- packet
Id number - The packet ID of the VPC endpoint.
- status string
- The connection status of the VPC endpoint.
- domain_
id str - The user's domain ID.
- endpoint_
id str - The unique ID of the VPC endpoint.
- packet_
id float - The packet ID of the VPC endpoint.
- status str
- The connection status of the VPC endpoint.
- domain
Id String - The user's domain ID.
- endpoint
Id String - The unique ID of the VPC endpoint.
- packet
Id Number - The packet ID of the VPC endpoint.
- status String
- The connection status of the VPC endpoint.
VpcepServicePortMapping, VpcepServicePortMappingArgs
- Protocol string
- Specifies the protocol used in port mappings. The value can be TCP or UDP. The default value is TCP.
- Service
Port double - Specifies the port for accessing the VPC endpoint service. This port is provided by the backend service to provide services. The value ranges from 1 to 65535.
- Terminal
Port double - Specifies the port for accessing the VPC endpoint. This port is provided by the VPC endpoint, allowing you to access the VPC endpoint service. The value ranges from 1 to 65535.
- Protocol string
- Specifies the protocol used in port mappings. The value can be TCP or UDP. The default value is TCP.
- Service
Port float64 - Specifies the port for accessing the VPC endpoint service. This port is provided by the backend service to provide services. The value ranges from 1 to 65535.
- Terminal
Port float64 - Specifies the port for accessing the VPC endpoint. This port is provided by the VPC endpoint, allowing you to access the VPC endpoint service. The value ranges from 1 to 65535.
- protocol String
- Specifies the protocol used in port mappings. The value can be TCP or UDP. The default value is TCP.
- service
Port Double - Specifies the port for accessing the VPC endpoint service. This port is provided by the backend service to provide services. The value ranges from 1 to 65535.
- terminal
Port Double - Specifies the port for accessing the VPC endpoint. This port is provided by the VPC endpoint, allowing you to access the VPC endpoint service. The value ranges from 1 to 65535.
- protocol string
- Specifies the protocol used in port mappings. The value can be TCP or UDP. The default value is TCP.
- service
Port number - Specifies the port for accessing the VPC endpoint service. This port is provided by the backend service to provide services. The value ranges from 1 to 65535.
- terminal
Port number - Specifies the port for accessing the VPC endpoint. This port is provided by the VPC endpoint, allowing you to access the VPC endpoint service. The value ranges from 1 to 65535.
- protocol str
- Specifies the protocol used in port mappings. The value can be TCP or UDP. The default value is TCP.
- service_
port float - Specifies the port for accessing the VPC endpoint service. This port is provided by the backend service to provide services. The value ranges from 1 to 65535.
- terminal_
port float - Specifies the port for accessing the VPC endpoint. This port is provided by the VPC endpoint, allowing you to access the VPC endpoint service. The value ranges from 1 to 65535.
- protocol String
- Specifies the protocol used in port mappings. The value can be TCP or UDP. The default value is TCP.
- service
Port Number - Specifies the port for accessing the VPC endpoint service. This port is provided by the backend service to provide services. The value ranges from 1 to 65535.
- terminal
Port Number - Specifies the port for accessing the VPC endpoint. This port is provided by the VPC endpoint, allowing you to access the VPC endpoint service. The value ranges from 1 to 65535.
VpcepServiceTimeouts, VpcepServiceTimeoutsArgs
Import
VPC endpoint services can be imported using the id
, e.g.
$ pulumi import flexibleengine:index/vpcepService:VpcepService test_service 950cd3ba-9d0e-4451-97c1-3e97dd515d46
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.