v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1431297215.2 KB

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 Kinesis Data Analytics applications:

  • VPC configurations are not supported for SQL applications.

  • When a VPC is added to a Kinesis Data Analytics 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.

post/#X-Amz-Target=KinesisAnalytics_20180523.AddApplicationVpcConfiguration

Headers

X-Amz-Target'KinesisAnalytics_20180523.AddApplicationVpcConfiguration' required

Request body

ApplicationNamestring required

The name of an existing application.

CurrentApplicationVersionIdinteger

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

ConditionalTokenstring

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

Response

Success

ApplicationARNstring

The ARN of the application.

ApplicationVersionIdinteger

Provides the current application version. Kinesis Data Analytics updates the ApplicationVersionId each time you update the application.