Add Application Vpc Configuration
kinesisanalyticsv2_add_application_vpc_configuration | R Documentation |
Adds a Virtual Private Cloud (VPC) configuration to the application¶
Description¶
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.
Usage¶
kinesisanalyticsv2_add_application_vpc_configuration(ApplicationName,
CurrentApplicationVersionId, VpcConfiguration, ConditionalToken)
Arguments¶
ApplicationName
[required] The name of an existing application.
CurrentApplicationVersionId
The version of the application to which you want to add the VPC configuration. You must provide the
CurrentApplicationVersionId
or theConditionalToken
. You can use thedescribe_application
operation to get the current application version. If the version specified is not the current version, theConcurrentModificationException
is returned. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.VpcConfiguration
[required] Description of the VPC to add to the application.
ConditionalToken
A value you use to implement strong concurrency for application updates. You must provide the
ApplicationVersionID
or theConditionalToken
. You get the application's currentConditionalToken
usingdescribe_application
. For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.
Value¶
A list with the following syntax:
list(
ApplicationARN = "string",
ApplicationVersionId = 123,
VpcConfigurationDescription = list(
VpcConfigurationId = "string",
VpcId = "string",
SubnetIds = list(
"string"
),
SecurityGroupIds = list(
"string"
)
),
OperationId = "string"
)