Skip to content

Delete Vpc Encryption Control

ec2_delete_vpc_encryption_control R Documentation

Deletes a VPC Encryption Control configuration

Description

Deletes a VPC Encryption Control configuration. This removes the encryption policy enforcement from the specified VPC.

For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.

Usage

ec2_delete_vpc_encryption_control(DryRun, VpcEncryptionControlId)

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

Value

A list with the following syntax:

list(
  VpcEncryptionControl = list(
    VpcId = "string",
    VpcEncryptionControlId = "string",
    Mode = "monitor"|"enforce",
    State = "enforce-in-progress"|"monitor-in-progress"|"enforce-failed"|"monitor-failed"|"deleting"|"deleted"|"available"|"creating"|"delete-failed",
    StateMessage = "string",
    ResourceExclusions = list(
      InternetGateway = list(
        State = "enabling"|"enabled"|"disabling"|"disabled",
        StateMessage = "string"
      ),
      EgressOnlyInternetGateway = list(
        State = "enabling"|"enabled"|"disabling"|"disabled",
        StateMessage = "string"
      ),
      NatGateway = list(
        State = "enabling"|"enabled"|"disabling"|"disabled",
        StateMessage = "string"
      ),
      VirtualPrivateGateway = list(
        State = "enabling"|"enabled"|"disabling"|"disabled",
        StateMessage = "string"
      ),
      VpcPeering = list(
        State = "enabling"|"enabled"|"disabling"|"disabled",
        StateMessage = "string"
      ),
      Lambda = list(
        State = "enabling"|"enabled"|"disabling"|"disabled",
        StateMessage = "string"
      ),
      VpcLattice = list(
        State = "enabling"|"enabled"|"disabling"|"disabled",
        StateMessage = "string"
      ),
      ElasticFileSystem = list(
        State = "enabling"|"enabled"|"disabling"|"disabled",
        StateMessage = "string"
      )
    ),
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$delete_vpc_encryption_control(
  DryRun = TRUE|FALSE,
  VpcEncryptionControlId = "string"
)