Adds a Virtual Private Cloud (VPC) configuration to the application. Applications can use VPCs to store and access resources securely.
kinesisanalyticsv2_add_application_vpc_configuration(ApplicationName,
CurrentApplicationVersionId, VpcConfiguration)
[required] The name of an existing application.
[required] The version of the application to which you want to add the input
processing configuration. 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.
[required] Description of the VPC to add to the application.
svc$add_application_vpc_configuration( ApplicationName = "string", CurrentApplicationVersionId = 123, VpcConfiguration = list( SubnetIds = list( "string" ), SecurityGroupIds = list( "string" ) ) )
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.