[ aws . kinesisanalyticsv2 ]
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.
See also: AWS API Documentation
See ‘aws help’ for descriptions of global parameters.
add-application-vpc-configuration
--application-name <value>
[--current-application-version-id <value>]
--vpc-configuration <value>
[--conditional-token <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
--application-name
(string)
The name of an existing application.
--current-application-version-id
(long)
The version of the application to which you want to add the VPC configuration. You must provide the
CurrentApplicationVersionId
or theConditionalToken
. You can use the DescribeApplication 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
.
--vpc-configuration
(structure)
Description of the VPC to add to the application.
SubnetIds -> (list)
The array of Subnet IDs used by the VPC configuration.
(string)
SecurityGroupIds -> (list)
The array of SecurityGroup IDs used by the VPC configuration.
(string)
Shorthand Syntax:
SubnetIds=string,string,SecurityGroupIds=string,string
JSON Syntax:
{
"SubnetIds": ["string", ...],
"SecurityGroupIds": ["string", ...]
}
--conditional-token
(string)
A value you use to implement strong concurrency for application updates. You must provide the
ApplicationVersionID
or theConditionalToken
. You get the application’s currentConditionalToken
using DescribeApplication . For better concurrency support, use theConditionalToken
parameter instead ofCurrentApplicationVersionId
.
--cli-input-json
| --cli-input-yaml
(string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton
. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml
.
--generate-cli-skeleton
(string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input
, prints a sample input JSON that can be used as an argument for --cli-input-json
. Similarly, if provided yaml-input
it will print a sample input YAML that can be used with --cli-input-yaml
. If provided with the value output
, it validates the command inputs and returns a sample output JSON for that command.
See ‘aws help’ for descriptions of global parameters.
ApplicationARN -> (string)
The ARN of the application.
ApplicationVersionId -> (long)
Provides the current application version. Kinesis Data Analytics updates the ApplicationVersionId each time you update the application.
VpcConfigurationDescription -> (structure)
The parameters of the new VPC configuration.
VpcConfigurationId -> (string)
The ID of the VPC configuration.
VpcId -> (string)
The ID of the associated VPC.
SubnetIds -> (list)
The array of Subnet IDs used by the VPC configuration.
(string)
SecurityGroupIds -> (list)
The array of SecurityGroup IDs used by the VPC configuration.
(string)