Class CfnVpcConnectorMixinProps.Builder

java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.apprunner.CfnVpcConnectorMixinProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcConnectorMixinProps>
Enclosing interface:
CfnVpcConnectorMixinProps

@Stability(Stable) public static final class CfnVpcConnectorMixinProps.Builder extends Object implements software.amazon.jsii.Builder<CfnVpcConnectorMixinProps>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • securityGroups

      @Stability(Stable) public CfnVpcConnectorMixinProps.Builder securityGroups(List<? extends Object> securityGroups)
      Parameters:
      securityGroups - 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.
      Returns:
      this
    • subnets

      @Stability(Stable) public CfnVpcConnectorMixinProps.Builder subnets(List<String> subnets)
      Parameters:
      subnets - 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).

      Returns:
      this
    • tags

      @Stability(Stable) public CfnVpcConnectorMixinProps.Builder tags(List<? extends CfnTag> tags)
      Parameters:
      tags - 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 a VpcConnector , you must provide a new combination of security groups.

      Returns:
      this
    • vpcConnectorName

      @Stability(Stable) public CfnVpcConnectorMixinProps.Builder vpcConnectorName(String vpcConnectorName)
      Parameters:
      vpcConnectorName - A name for the VPC connector. If you don't specify a name, CloudFormation generates a name for your VPC connector.
      Returns:
      this
    • build

      @Stability(Stable) public CfnVpcConnectorMixinProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnVpcConnectorMixinProps>
      Returns:
      a new instance of CfnVpcConnectorMixinProps
      Throws:
      NullPointerException - if any required attribute was not provided