import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Gateway endpoint * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const privateLinkGatewayEndpointDemo = new volcenginecc.privatelink.GatewayEndpoint("PrivateLinkGatewayEndpointDemo", { * description: "ccapi-test", * vpcId: "vpc-2ntqlxxxxxxxxxrlvfu7z", * endpointName: "test-endpoint", * projectName: "default", * vpcPolicy: "{\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":\"*\",\"Action\":\"*\",\"Resource\":\"*\",\"Condition\":null}]}", * tags: [{ * key: "env", * value: "test", * }], * serviceId: "gwepsvc-3rxxxxxxsk2ilz3f62", * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:privatelink/gatewayEndpoint:GatewayEndpoint example "endpoint_id" * ``` */ export declare class GatewayEndpoint extends pulumi.CustomResource { /** * Get an existing GatewayEndpoint resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: GatewayEndpointState, opts?: pulumi.CustomResourceOptions): GatewayEndpoint; /** * Returns true if the given object is an instance of GatewayEndpoint. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is GatewayEndpoint; /** * Creation time of the gateway endpoint */ readonly creationTime: pulumi.Output; /** * Description of the gateway endpoint */ readonly description: pulumi.Output; /** * ID of the gateway endpoint */ readonly endpointId: pulumi.Output; /** * Name of the gateway endpoint */ readonly endpointName: pulumi.Output; /** * Name of the project to which the gateway endpoint belongs */ readonly projectName: pulumi.Output; /** * ID of the gateway endpoint service */ readonly serviceId: pulumi.Output; /** * Name of the gateway endpoint service */ readonly serviceName: pulumi.Output; /** * Status of the gateway endpoint. Creating: Being created. Pending: Configuration being modified. Available: Available. Deleting: Being deleted. */ readonly status: pulumi.Output; readonly tags: pulumi.Output; /** * Most recent operation time of the gateway endpoint */ readonly updateTime: pulumi.Output; /** * ID of the VPC to which the gateway endpoint belongs */ readonly vpcId: pulumi.Output; /** * Access policy of the gateway endpoint. If not specified, the default policy is used. The default policy allows the gateway endpoint to access all bucket resources in the object storage service. */ readonly vpcPolicy: pulumi.Output; /** * Create a GatewayEndpoint resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: GatewayEndpointArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering GatewayEndpoint resources. */ export interface GatewayEndpointState { /** * Creation time of the gateway endpoint */ creationTime?: pulumi.Input; /** * Description of the gateway endpoint */ description?: pulumi.Input; /** * ID of the gateway endpoint */ endpointId?: pulumi.Input; /** * Name of the gateway endpoint */ endpointName?: pulumi.Input; /** * Name of the project to which the gateway endpoint belongs */ projectName?: pulumi.Input; /** * ID of the gateway endpoint service */ serviceId?: pulumi.Input; /** * Name of the gateway endpoint service */ serviceName?: pulumi.Input; /** * Status of the gateway endpoint. Creating: Being created. Pending: Configuration being modified. Available: Available. Deleting: Being deleted. */ status?: pulumi.Input; tags?: pulumi.Input[]>; /** * Most recent operation time of the gateway endpoint */ updateTime?: pulumi.Input; /** * ID of the VPC to which the gateway endpoint belongs */ vpcId?: pulumi.Input; /** * Access policy of the gateway endpoint. If not specified, the default policy is used. The default policy allows the gateway endpoint to access all bucket resources in the object storage service. */ vpcPolicy?: pulumi.Input; } /** * The set of arguments for constructing a GatewayEndpoint resource. */ export interface GatewayEndpointArgs { /** * Description of the gateway endpoint */ description?: pulumi.Input; /** * Name of the gateway endpoint */ endpointName?: pulumi.Input; /** * Name of the project to which the gateway endpoint belongs */ projectName?: pulumi.Input; /** * ID of the gateway endpoint service */ serviceId: pulumi.Input; tags?: pulumi.Input[]>; /** * ID of the VPC to which the gateway endpoint belongs */ vpcId: pulumi.Input; /** * Access policy of the gateway endpoint. If not specified, the default policy is used. The default policy allows the gateway endpoint to access all bucket resources in the object storage service. */ vpcPolicy?: pulumi.Input; }