Interface CfnVpcConnectorProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:40.035Z") @Stability(Stable) public interface CfnVpcConnectorProps extends
Properties for defining a CfnVpcConnector.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnVpcConnectorProps cfnVpcConnectorProps = CfnVpcConnectorProps.builder()
         // the properties below are optional
  • 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()
      a CfnVpcConnectorProps.Builder of CfnVpcConnectorProps