1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. VpcepApproval
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.VpcepApproval

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Provides a resource to manage the VPC endpoint connections.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const serviceVpcId = config.requireObject("serviceVpcId");
    const vmPort = config.requireObject("vmPort");
    const exampleVpc = new flexibleengine.VpcV1("exampleVpc", {cidr: "192.168.0.0/16"});
    const exampleSubnet = new flexibleengine.VpcSubnetV1("exampleSubnet", {
        cidr: "192.168.0.0/24",
        gatewayIp: "192.168.0.1",
        vpcId: exampleVpc.vpcV1Id,
    });
    const demoVpcepService = new flexibleengine.VpcepService("demoVpcepService", {
        serverType: "VM",
        vpcId: serviceVpcId,
        portId: vmPort,
        approval: true,
        portMappings: [{
            servicePort: 8080,
            terminalPort: 80,
        }],
    });
    const demoVpcepEndpoint = new flexibleengine.VpcepEndpoint("demoVpcepEndpoint", {
        serviceId: demoVpcepService.vpcepServiceId,
        vpcId: exampleVpc.vpcV1Id,
        networkId: exampleSubnet.vpcSubnetV1Id,
        enableDns: true,
    });
    const approval = new flexibleengine.VpcepApproval("approval", {
        serviceId: demoVpcepService.vpcepServiceId,
        endpoints: [demoVpcepEndpoint.vpcepEndpointId],
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    service_vpc_id = config.require_object("serviceVpcId")
    vm_port = config.require_object("vmPort")
    example_vpc = flexibleengine.VpcV1("exampleVpc", cidr="192.168.0.0/16")
    example_subnet = flexibleengine.VpcSubnetV1("exampleSubnet",
        cidr="192.168.0.0/24",
        gateway_ip="192.168.0.1",
        vpc_id=example_vpc.vpc_v1_id)
    demo_vpcep_service = flexibleengine.VpcepService("demoVpcepService",
        server_type="VM",
        vpc_id=service_vpc_id,
        port_id=vm_port,
        approval=True,
        port_mappings=[{
            "service_port": 8080,
            "terminal_port": 80,
        }])
    demo_vpcep_endpoint = flexibleengine.VpcepEndpoint("demoVpcepEndpoint",
        service_id=demo_vpcep_service.vpcep_service_id,
        vpc_id=example_vpc.vpc_v1_id,
        network_id=example_subnet.vpc_subnet_v1_id,
        enable_dns=True)
    approval = flexibleengine.VpcepApproval("approval",
        service_id=demo_vpcep_service.vpcep_service_id,
        endpoints=[demo_vpcep_endpoint.vpcep_endpoint_id])
    
    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, "")
    		serviceVpcId := cfg.RequireObject("serviceVpcId")
    		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
    		}
    		exampleSubnet, err := flexibleengine.NewVpcSubnetV1(ctx, "exampleSubnet", &flexibleengine.VpcSubnetV1Args{
    			Cidr:      pulumi.String("192.168.0.0/24"),
    			GatewayIp: pulumi.String("192.168.0.1"),
    			VpcId:     exampleVpc.VpcV1Id,
    		})
    		if err != nil {
    			return err
    		}
    		demoVpcepService, err := flexibleengine.NewVpcepService(ctx, "demoVpcepService", &flexibleengine.VpcepServiceArgs{
    			ServerType: pulumi.String("VM"),
    			VpcId:      pulumi.Any(serviceVpcId),
    			PortId:     pulumi.Any(vmPort),
    			Approval:   pulumi.Bool(true),
    			PortMappings: flexibleengine.VpcepServicePortMappingArray{
    				&flexibleengine.VpcepServicePortMappingArgs{
    					ServicePort:  pulumi.Float64(8080),
    					TerminalPort: pulumi.Float64(80),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		demoVpcepEndpoint, err := flexibleengine.NewVpcepEndpoint(ctx, "demoVpcepEndpoint", &flexibleengine.VpcepEndpointArgs{
    			ServiceId: demoVpcepService.VpcepServiceId,
    			VpcId:     exampleVpc.VpcV1Id,
    			NetworkId: exampleSubnet.VpcSubnetV1Id,
    			EnableDns: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = flexibleengine.NewVpcepApproval(ctx, "approval", &flexibleengine.VpcepApprovalArgs{
    			ServiceId: demoVpcepService.VpcepServiceId,
    			Endpoints: pulumi.StringArray{
    				demoVpcepEndpoint.VpcepEndpointId,
    			},
    		})
    		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 serviceVpcId = config.RequireObject<dynamic>("serviceVpcId");
        var vmPort = config.RequireObject<dynamic>("vmPort");
        var exampleVpc = new Flexibleengine.VpcV1("exampleVpc", new()
        {
            Cidr = "192.168.0.0/16",
        });
    
        var exampleSubnet = new Flexibleengine.VpcSubnetV1("exampleSubnet", new()
        {
            Cidr = "192.168.0.0/24",
            GatewayIp = "192.168.0.1",
            VpcId = exampleVpc.VpcV1Id,
        });
    
        var demoVpcepService = new Flexibleengine.VpcepService("demoVpcepService", new()
        {
            ServerType = "VM",
            VpcId = serviceVpcId,
            PortId = vmPort,
            Approval = true,
            PortMappings = new[]
            {
                new Flexibleengine.Inputs.VpcepServicePortMappingArgs
                {
                    ServicePort = 8080,
                    TerminalPort = 80,
                },
            },
        });
    
        var demoVpcepEndpoint = new Flexibleengine.VpcepEndpoint("demoVpcepEndpoint", new()
        {
            ServiceId = demoVpcepService.VpcepServiceId,
            VpcId = exampleVpc.VpcV1Id,
            NetworkId = exampleSubnet.VpcSubnetV1Id,
            EnableDns = true,
        });
    
        var approval = new Flexibleengine.VpcepApproval("approval", new()
        {
            ServiceId = demoVpcepService.VpcepServiceId,
            Endpoints = new[]
            {
                demoVpcepEndpoint.VpcepEndpointId,
            },
        });
    
    });
    
    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.VpcSubnetV1;
    import com.pulumi.flexibleengine.VpcSubnetV1Args;
    import com.pulumi.flexibleengine.VpcepService;
    import com.pulumi.flexibleengine.VpcepServiceArgs;
    import com.pulumi.flexibleengine.inputs.VpcepServicePortMappingArgs;
    import com.pulumi.flexibleengine.VpcepEndpoint;
    import com.pulumi.flexibleengine.VpcepEndpointArgs;
    import com.pulumi.flexibleengine.VpcepApproval;
    import com.pulumi.flexibleengine.VpcepApprovalArgs;
    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 serviceVpcId = config.get("serviceVpcId");
            final var vmPort = config.get("vmPort");
            var exampleVpc = new VpcV1("exampleVpc", VpcV1Args.builder()
                .cidr("192.168.0.0/16")
                .build());
    
            var exampleSubnet = new VpcSubnetV1("exampleSubnet", VpcSubnetV1Args.builder()
                .cidr("192.168.0.0/24")
                .gatewayIp("192.168.0.1")
                .vpcId(exampleVpc.vpcV1Id())
                .build());
    
            var demoVpcepService = new VpcepService("demoVpcepService", VpcepServiceArgs.builder()
                .serverType("VM")
                .vpcId(serviceVpcId)
                .portId(vmPort)
                .approval(true)
                .portMappings(VpcepServicePortMappingArgs.builder()
                    .servicePort(8080)
                    .terminalPort(80)
                    .build())
                .build());
    
            var demoVpcepEndpoint = new VpcepEndpoint("demoVpcepEndpoint", VpcepEndpointArgs.builder()
                .serviceId(demoVpcepService.vpcepServiceId())
                .vpcId(exampleVpc.vpcV1Id())
                .networkId(exampleSubnet.vpcSubnetV1Id())
                .enableDns(true)
                .build());
    
            var approval = new VpcepApproval("approval", VpcepApprovalArgs.builder()
                .serviceId(demoVpcepService.vpcepServiceId())
                .endpoints(demoVpcepEndpoint.vpcepEndpointId())
                .build());
    
        }
    }
    
    configuration:
      serviceVpcId:
        type: dynamic
      vmPort:
        type: dynamic
    resources:
      exampleVpc:
        type: flexibleengine:VpcV1
        properties:
          cidr: 192.168.0.0/16
      exampleSubnet:
        type: flexibleengine:VpcSubnetV1
        properties:
          cidr: 192.168.0.0/24
          gatewayIp: 192.168.0.1
          vpcId: ${exampleVpc.vpcV1Id}
      demoVpcepService:
        type: flexibleengine:VpcepService
        properties:
          serverType: VM
          vpcId: ${serviceVpcId}
          portId: ${vmPort}
          approval: true
          portMappings:
            - servicePort: 8080
              terminalPort: 80
      demoVpcepEndpoint:
        type: flexibleengine:VpcepEndpoint
        properties:
          serviceId: ${demoVpcepService.vpcepServiceId}
          vpcId: ${exampleVpc.vpcV1Id}
          networkId: ${exampleSubnet.vpcSubnetV1Id}
          enableDns: true
      approval:
        type: flexibleengine:VpcepApproval
        properties:
          serviceId: ${demoVpcepService.vpcepServiceId}
          endpoints:
            - ${demoVpcepEndpoint.vpcepEndpointId}
    

    Create VpcepApproval Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcepApproval(name: string, args: VpcepApprovalArgs, opts?: CustomResourceOptions);
    @overload
    def VpcepApproval(resource_name: str,
                      args: VpcepApprovalArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcepApproval(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      endpoints: Optional[Sequence[str]] = None,
                      service_id: Optional[str] = None,
                      region: Optional[str] = None,
                      timeouts: Optional[VpcepApprovalTimeoutsArgs] = None,
                      vpcep_approval_id: Optional[str] = None)
    func NewVpcepApproval(ctx *Context, name string, args VpcepApprovalArgs, opts ...ResourceOption) (*VpcepApproval, error)
    public VpcepApproval(string name, VpcepApprovalArgs args, CustomResourceOptions? opts = null)
    public VpcepApproval(String name, VpcepApprovalArgs args)
    public VpcepApproval(String name, VpcepApprovalArgs args, CustomResourceOptions options)
    
    type: flexibleengine:VpcepApproval
    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 VpcepApprovalArgs
    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 VpcepApprovalArgs
    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 VpcepApprovalArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcepApprovalArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcepApprovalArgs
    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 vpcepApprovalResource = new Flexibleengine.VpcepApproval("vpcepApprovalResource", new()
    {
        Endpoints = new[]
        {
            "string",
        },
        ServiceId = "string",
        Region = "string",
        Timeouts = new Flexibleengine.Inputs.VpcepApprovalTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
        VpcepApprovalId = "string",
    });
    
    example, err := flexibleengine.NewVpcepApproval(ctx, "vpcepApprovalResource", &flexibleengine.VpcepApprovalArgs{
    	Endpoints: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ServiceId: pulumi.String("string"),
    	Region:    pulumi.String("string"),
    	Timeouts: &flexibleengine.VpcepApprovalTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    	VpcepApprovalId: pulumi.String("string"),
    })
    
    var vpcepApprovalResource = new VpcepApproval("vpcepApprovalResource", VpcepApprovalArgs.builder()
        .endpoints("string")
        .serviceId("string")
        .region("string")
        .timeouts(VpcepApprovalTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .vpcepApprovalId("string")
        .build());
    
    vpcep_approval_resource = flexibleengine.VpcepApproval("vpcepApprovalResource",
        endpoints=["string"],
        service_id="string",
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
        },
        vpcep_approval_id="string")
    
    const vpcepApprovalResource = new flexibleengine.VpcepApproval("vpcepApprovalResource", {
        endpoints: ["string"],
        serviceId: "string",
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
        vpcepApprovalId: "string",
    });
    
    type: flexibleengine:VpcepApproval
    properties:
        endpoints:
            - string
        region: string
        serviceId: string
        timeouts:
            create: string
            delete: string
        vpcepApprovalId: string
    

    VpcepApproval 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 VpcepApproval resource accepts the following input properties:

    Endpoints List<string>
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    ServiceId string
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    Region string
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    Timeouts VpcepApprovalTimeouts
    VpcepApprovalId string
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    Endpoints []string
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    ServiceId string
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    Region string
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    Timeouts VpcepApprovalTimeoutsArgs
    VpcepApprovalId string
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    endpoints List<String>
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    serviceId String
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    region String
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    timeouts VpcepApprovalTimeouts
    vpcepApprovalId String
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    endpoints string[]
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    serviceId string
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    region string
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    timeouts VpcepApprovalTimeouts
    vpcepApprovalId string
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    endpoints Sequence[str]
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    service_id str
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    region str
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    timeouts VpcepApprovalTimeoutsArgs
    vpcep_approval_id str
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    endpoints List<String>
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    serviceId String
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    region String
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    timeouts Property Map
    vpcepApprovalId String
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpcepApproval resource produces the following output properties:

    Connections List<VpcepApprovalConnection>
    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.
    Connections []VpcepApprovalConnection
    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.
    connections List<VpcepApprovalConnection>
    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.
    connections VpcepApprovalConnection[]
    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.
    connections Sequence[VpcepApprovalConnection]
    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.
    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.

    Look up Existing VpcepApproval Resource

    Get an existing VpcepApproval 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?: VpcepApprovalState, opts?: CustomResourceOptions): VpcepApproval
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connections: Optional[Sequence[VpcepApprovalConnectionArgs]] = None,
            endpoints: Optional[Sequence[str]] = None,
            region: Optional[str] = None,
            service_id: Optional[str] = None,
            timeouts: Optional[VpcepApprovalTimeoutsArgs] = None,
            vpcep_approval_id: Optional[str] = None) -> VpcepApproval
    func GetVpcepApproval(ctx *Context, name string, id IDInput, state *VpcepApprovalState, opts ...ResourceOption) (*VpcepApproval, error)
    public static VpcepApproval Get(string name, Input<string> id, VpcepApprovalState? state, CustomResourceOptions? opts = null)
    public static VpcepApproval get(String name, Output<String> id, VpcepApprovalState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:VpcepApproval    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.
    The following state arguments are supported:
    Connections List<VpcepApprovalConnection>
    An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
    Endpoints List<string>
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    Region string
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    ServiceId string
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    Timeouts VpcepApprovalTimeouts
    VpcepApprovalId string
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    Connections []VpcepApprovalConnectionArgs
    An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
    Endpoints []string
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    Region string
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    ServiceId string
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    Timeouts VpcepApprovalTimeoutsArgs
    VpcepApprovalId string
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    connections List<VpcepApprovalConnection>
    An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
    endpoints List<String>
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    region String
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    serviceId String
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    timeouts VpcepApprovalTimeouts
    vpcepApprovalId String
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    connections VpcepApprovalConnection[]
    An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
    endpoints string[]
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    region string
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    serviceId string
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    timeouts VpcepApprovalTimeouts
    vpcepApprovalId string
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    connections Sequence[VpcepApprovalConnectionArgs]
    An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
    endpoints Sequence[str]
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    region str
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    service_id str
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    timeouts VpcepApprovalTimeoutsArgs
    vpcep_approval_id str
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.
    connections List<Property Map>
    An array of VPC endpoints connect to the VPC endpoint service. Structure is documented below.
    endpoints List<String>
    Specifies the list of VPC endpoint IDs which accepted to connect to VPC endpoint service. The VPC endpoints will be rejected when the resource was destroyed.
    region String
    The region in which to create the resource. If omitted, the provider-level region will be used. Changing this creates a new resource.
    serviceId String
    Specifies the ID of the VPC endpoint service. Changing this creates a new resource.
    timeouts Property Map
    vpcepApprovalId String
    The unique ID in UUID format which equals to the ID of the VPC endpoint service.

    Supporting Types

    VpcepApprovalConnection, VpcepApprovalConnectionArgs

    DomainId string
    The user's domain ID.
    EndpointId string
    The unique ID of the VPC endpoint.
    PacketId double
    The packet ID of the VPC endpoint.
    Status string
    The connection status of the VPC endpoint.
    DomainId string
    The user's domain ID.
    EndpointId string
    The unique ID of the VPC endpoint.
    PacketId float64
    The packet ID of the VPC endpoint.
    Status string
    The connection status of the VPC endpoint.
    domainId String
    The user's domain ID.
    endpointId String
    The unique ID of the VPC endpoint.
    packetId Double
    The packet ID of the VPC endpoint.
    status String
    The connection status of the VPC endpoint.
    domainId string
    The user's domain ID.
    endpointId string
    The unique ID of the VPC endpoint.
    packetId 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.
    domainId String
    The user's domain ID.
    endpointId String
    The unique ID of the VPC endpoint.
    packetId Number
    The packet ID of the VPC endpoint.
    status String
    The connection status of the VPC endpoint.

    VpcepApprovalTimeouts, VpcepApprovalTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud