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.
CurrentApplicationVersionIdThe version of the application to which you want to add the VPC configuration. You must provide the
CurrentApplicationVersionIdor theConditionalToken. You can use thedescribe_applicationoperation to get the current application version. If the version specified is not the current version, theConcurrentModificationExceptionis returned. For better concurrency support, use theConditionalTokenparameter instead ofCurrentApplicationVersionId.VpcConfiguration[required] Description of the VPC to add to the application.
ConditionalTokenA value you use to implement strong concurrency for application updates. You must provide the
ApplicationVersionIDor theConditionalToken. You get the application's currentConditionalTokenusingdescribe_application. For better concurrency support, use theConditionalTokenparameter 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"
)