Interface CfnVpcConnectorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVpcConnectorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.035Z")
@Stability(Stable)
public interface CfnVpcConnectorProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnVpcConnector
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.apprunner.*; CfnVpcConnectorProps cfnVpcConnectorProps = CfnVpcConnectorProps.builder() .subnets(List.of("subnets")) // the properties below are optional .securityGroups(List.of("securityGroups")) .tags(List.of(CfnTag.builder() .key("key") .value("value") .build())) .vpcConnectorName("vpcConnectorName") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnVpcConnectorProps
static final class
An implementation forCfnVpcConnectorProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVpcConnectorProps.Builder
builder()
A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets.A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.getTags()
A list of metadata items that you can associate with your VPC connector resource.default String
A name for the VPC connector.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSubnets
A list of IDs of subnets that App Runner should use when it associates your service with a custom Amazon VPC.Specify IDs of subnets of a single Amazon VPC. App Runner determines the Amazon VPC from the subnets you specify.
App Runner currently only provides support for IPv4.
-
getSecurityGroups
A list of IDs of security groups that App Runner should use for access to AWS resources under the specified subnets.If not specified, App Runner uses the default security group of the Amazon VPC. The default security group allows all outbound traffic.
-
getTags
A list of metadata items that you can associate with your VPC connector resource.A tag is a key-value pair.
-
getVpcConnectorName
A name for the VPC connector.If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
-
builder
- Returns:
- a
CfnVpcConnectorProps.Builder
ofCfnVpcConnectorProps
-