VpcAccess

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.apigateway.VpcAccess;
import com.pulumi.alicloud.apigateway.VpcAccessArgs;
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 foo = new VpcAccess("foo", VpcAccessArgs.builder()
.instanceId("i-kai2ks92kzkw92ka")
.port(8080)
.vpcId("vpc-awkcj192ka9zalz")
.build());
}
}

Import

Api gateway app can be imported using the id, e.g.

$ pulumi import alicloud:apigateway/vpcAccess:VpcAccess example "APiGatewayVpc:vpc-aswcj19ajsz:i-ajdjfsdlf:8080"

Properties

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val instanceId: Output<String>

ID of the instance in VPC (ECS/Server Load Balance).

Link copied to clipboard
val name: Output<String>

The name of the vpc authorization.

Link copied to clipboard
val port: Output<Int>

ID of the port corresponding to the instance.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcId: Output<String>

The vpc id of the vpc authorization.