Skip to contents

Modifies the encryption control configuration for a VPC. You can update the encryption mode and exclusion settings for various gateway types and peering connections.

See https://www.paws-r-sdk.com/docs/ec2_modify_vpc_encryption_control/ for full documentation.

Usage

ec2_modify_vpc_encryption_control(
  DryRun = NULL,
  VpcEncryptionControlId,
  Mode = NULL,
  InternetGatewayExclusion = NULL,
  EgressOnlyInternetGatewayExclusion = NULL,
  NatGatewayExclusion = NULL,
  VirtualPrivateGatewayExclusion = NULL,
  VpcPeeringExclusion = NULL,
  LambdaExclusion = NULL,
  VpcLatticeExclusion = NULL,
  ElasticFileSystemExclusion = NULL
)

Arguments

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.

VpcEncryptionControlId

[required] The ID of the VPC Encryption Control resource to modify.

Mode

The encryption mode for the VPC Encryption Control configuration.

InternetGatewayExclusion

Specifies whether to exclude internet gateway traffic from encryption enforcement.

EgressOnlyInternetGatewayExclusion

Specifies whether to exclude egress-only internet gateway traffic from encryption enforcement.

NatGatewayExclusion

Specifies whether to exclude NAT gateway traffic from encryption enforcement.

VirtualPrivateGatewayExclusion

Specifies whether to exclude virtual private gateway traffic from encryption enforcement.

VpcPeeringExclusion

Specifies whether to exclude VPC peering connection traffic from encryption enforcement.

LambdaExclusion

Specifies whether to exclude Lambda function traffic from encryption enforcement.

VpcLatticeExclusion

Specifies whether to exclude VPC Lattice traffic from encryption enforcement.

ElasticFileSystemExclusion

Specifies whether to exclude Elastic File System traffic from encryption enforcement.