Interface EgressConfiguration.Builder

    • Method Detail

      • egressType

        EgressConfiguration.Builder egressType​(String egressType)

        The type of egress configuration.

        Set to DEFAULT for access to resources hosted on public networks.

        Set to VPC to associate your service to a custom VPC specified by VpcConnectorArn.

        Parameters:
        egressType - The type of egress configuration.

        Set to DEFAULT for access to resources hosted on public networks.

        Set to VPC to associate your service to a custom VPC specified by VpcConnectorArn.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EgressType, EgressType
      • egressType

        EgressConfiguration.Builder egressType​(EgressType egressType)

        The type of egress configuration.

        Set to DEFAULT for access to resources hosted on public networks.

        Set to VPC to associate your service to a custom VPC specified by VpcConnectorArn.

        Parameters:
        egressType - The type of egress configuration.

        Set to DEFAULT for access to resources hosted on public networks.

        Set to VPC to associate your service to a custom VPC specified by VpcConnectorArn.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EgressType, EgressType
      • vpcConnectorArn

        EgressConfiguration.Builder vpcConnectorArn​(String vpcConnectorArn)

        The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when EgressType = VPC.

        Parameters:
        vpcConnectorArn - The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate with your App Runner service. Only valid when EgressType = VPC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.