Skip to content

/AWS1/CL_KN2=>ADDAPPLICATIONVPCCONF()

About AddApplicationVpcConfiguration

Adds a Virtual Private Cloud (VPC) configuration to the application. Applications can use VPCs to store and access resources securely.

Note the following about VPC configurations for Managed Service for Apache Flink applications:

  • VPC configurations are not supported for SQL applications.

  • When a VPC is added to a Managed Service for Apache Flink application, the application can no longer be accessed from the Internet directly. To enable Internet access to the application, add an Internet gateway to your VPC.

Method Signature

IMPORTING

Required arguments:

IV_APPLICATIONNAME TYPE /AWS1/KN2APPLICATIONNAME /AWS1/KN2APPLICATIONNAME

The name of an existing application.

IO_VPCCONFIGURATION TYPE REF TO /AWS1/CL_KN2VPCCONFIGURATION /AWS1/CL_KN2VPCCONFIGURATION

Description of the VPC to add to the application.

Optional arguments:

IV_CURRENTAPPLICATIONVRSID TYPE /AWS1/KN2APPLICATIONVERSIONID /AWS1/KN2APPLICATIONVERSIONID

The version of the application to which you want to add the VPC configuration. You must provide the CurrentApplicationVersionId or the ConditionalToken. You can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

IV_CONDITIONALTOKEN TYPE /AWS1/KN2CONDITIONALTOKEN /AWS1/KN2CONDITIONALTOKEN

A value you use to implement strong concurrency for application updates. You must provide the ApplicationVersionID or the ConditionalToken. You get the application's current ConditionalToken using DescribeApplication. For better concurrency support, use the ConditionalToken parameter instead of CurrentApplicationVersionId.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_KN2ADDAPPLICATIONVP01 /AWS1/CL_KN2ADDAPPLICATIONVP01