[ aws . kinesisanalyticsv2 ]

add-application-vpc-configuration

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 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.

Synopsis

  add-application-vpc-configuration
--application-name <value>
--current-application-version-id <value>
--vpc-configuration <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--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 can use the DescribeApplication operation to get the current application version. If the version specified is not the current version, the ConcurrentModificationException is returned.

--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", ...]
}

--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.

Output

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)