VpcIngressConnectionArgs

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());
}
}

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"

Constructors

Link copied to clipboard
constructor(ingressVpcConfiguration: Output<VpcIngressConnectionIngressVpcConfigurationArgs>? = null, name: Output<String>? = null, serviceArn: Output<String>? = null, tags: Output<Map<String, String>>? = null)

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
val name: Output<String>? = null

A name for the VPC Ingress Connection resource. It must be unique across all the active VPC Ingress Connections in your AWS account in the AWS Region.

Link copied to clipboard
val serviceArn: Output<String>? = null

The Amazon Resource Name (ARN) for this App Runner service that is used to create the VPC Ingress Connection resource.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Key-value map of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Functions

Link copied to clipboard
open override fun toJava(): VpcIngressConnectionArgs