Skip to content

Describe Vpc Encryption Controls

ec2_describe_vpc_encryption_controls R Documentation

Describes one or more VPC Encryption Control configurations

Description

Describes one or more VPC Encryption Control configurations. VPC Encryption Control enables you to enforce encryption for all data in transit within and between VPCs to meet compliance requirements You can filter the results to return information about specific encryption controls or VPCs.

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

Usage

ec2_describe_vpc_encryption_controls(DryRun, Filters,
  VpcEncryptionControlIds, VpcIds, NextToken, MaxResults)

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.

Filters

The filters to apply to the request.

VpcEncryptionControlIds

The IDs of the VPC Encryption Control configurations to describe.

VpcIds

The IDs of the VPCs to describe encryption control configurations for.

NextToken

The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

MaxResults

The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.

Value

A list with the following syntax:

list(
  VpcEncryptionControls = list(
    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"
        )
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$describe_vpc_encryption_controls(
  DryRun = TRUE|FALSE,
  Filters = list(
    list(
      Name = "string",
      Values = list(
        "string"
      )
    )
  ),
  VpcEncryptionControlIds = list(
    "string"
  ),
  VpcIds = list(
    "string"
  ),
  NextToken = "string",
  MaxResults = 123
)