Vpc Ingress Connection Args
data class VpcIngressConnectionArgs(val ingressVpcConfiguration: Output<VpcIngressConnectionIngressVpcConfigurationArgs>? = null, val name: Output<String>? = null, val serviceArn: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<VpcIngressConnectionArgs>
Manages an App Runner VPC Ingress Connection.
Example Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.apprunner.VpcIngressConnection;
import com.pulumi.aws.apprunner.VpcIngressConnectionArgs;
import com.pulumi.aws.apprunner.inputs.VpcIngressConnectionIngressVpcConfigurationArgs;
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 example = new VpcIngressConnection("example", VpcIngressConnectionArgs.builder()
.serviceArn(aws_apprunner_service.example().arn())
.ingressVpcConfiguration(VpcIngressConnectionIngressVpcConfigurationArgs.builder()
.vpcId(aws_default_vpc.default().id())
.vpcEndpointId(aws_vpc_endpoint.apprunner().id())
.build())
.tags(Map.of("foo", "bar"))
.build());
}
}
Content copied to clipboard
Import
App Runner VPC Ingress Connection can be imported by using the arn
, e.g.,
$ pulumi import aws:apprunner/vpcIngressConnection:VpcIngressConnection example "arn:aws:apprunner:us-west-2:837424938642:vpcingressconnection/example/b379f86381d74825832c2e82080342fa"
Content copied to clipboard
Properties
Link copied to clipboard
Specifications for the customer’s Amazon VPC and the related AWS PrivateLink VPC endpoint that are used to create the VPC Ingress Connection resource. See Ingress VPC Configuration below for more details.
Link copied to clipboard
The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.