Interface CfnVpcConnectorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVpcConnectorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-09-06T01:36:23.475Z")
@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();
- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
getTags
A list of metadata items that you can associate with your VPC connector resource.A tag is a key-value pair.
A
VpcConnector
is immutable, so you cannot update its tags. To change the tags, replace the resource. To replace aVpcConnector
, you must provide a new combination of security groups.- See Also:
-
getVpcConnectorName
A name for the VPC connector.If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.
- See Also:
-
builder
- Returns:
- a
CfnVpcConnectorProps.Builder
ofCfnVpcConnectorProps
-