ec2_apply_security_groups_to_client_vpn_target_network: Applies a security group to the association between the...

Description Usage Arguments Value Request syntax

View source: R/ec2_operations.R

Description

Applies a security group to the association between the target network and the Client VPN endpoint. This action replaces the existing security groups with the specified security groups.

Usage

1
2
ec2_apply_security_groups_to_client_vpn_target_network(
  ClientVpnEndpointId, VpcId, SecurityGroupIds, DryRun)

Arguments

ClientVpnEndpointId

[required] The ID of the Client VPN endpoint.

VpcId

[required] The ID of the VPC in which the associated target network is located.

SecurityGroupIds

[required] The IDs of the security groups to apply to the associated target network. Up to 5 security groups can be applied to an associated target network.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Value

A list with the following syntax:

1
2
3
4
5
list(
  SecurityGroupIds = list(
    "string"
  )
)

Request syntax

1
2
3
4
5
6
7
8
svc$apply_security_groups_to_client_vpn_target_network(
  ClientVpnEndpointId = "string",
  VpcId = "string",
  SecurityGroupIds = list(
    "string"
  ),
  DryRun = TRUE|FALSE
)

paws.compute documentation built on March 7, 2021, 5:10 p.m.