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();
 
  • Method Details

    • getSubnets

      @Stability(Stable) @NotNull List<String> 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

      @Stability(Stable) @Nullable default List<String> 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

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      A list of metadata items that you can associate with your VPC connector resource.

      A tag is a key-value pair.

    • getVpcConnectorName

      @Stability(Stable) @Nullable default String getVpcConnectorName()
      A name for the VPC connector.

      If you don't specify a name, AWS CloudFormation generates a name for your VPC connector.

    • builder

      @Stability(Stable) static CfnVpcConnectorProps.Builder builder()
      Returns:
      a CfnVpcConnectorProps.Builder of CfnVpcConnectorProps