Interface CfnVpcConnectorProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVpcConnectorProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-17T14:40:45.261Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVpcConnectorPropsstatic final classAn implementation forCfnVpcConnectorProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnVpcConnectorProps.Builderbuilder()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 StringA 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 only supports subnets of IP address type IPv4 and dual stack (IPv4 and IPv6).
- 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
VpcConnectoris 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.BuilderofCfnVpcConnectorProps
-