Skip to main content

vpc_resources_blocking_encryption_enforcements

Creates, updates, deletes, gets or lists a vpc_resources_blocking_encryption_enforcements resource.

Overview

Namevpc_resources_blocking_encryption_enforcements
TypeResource
Idaws.ec2.vpc_resources_blocking_encryption_enforcements

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringThe token to include in another request to get the next page of items. This value is null when there are no more items to return.
non_compliant_resourcesstringInformation about resources that are blocking encryption enforcement.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_vpc_resources_blocking_encryption_enforcementselectVpcId, regionMaxResults, NextToken, DryRunGets information about resources in a VPC that are blocking encryption enforcement. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
VpcIdstringThe ID of the VPC to check for resources blocking encryption enforcement.
regionstringAWS region (default: us-east-1)
DryRunbooleanChecks 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.
MaxResultsintegerThe 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.
NextTokenstringThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.

SELECT examples

Gets information about resources in a VPC that are blocking encryption enforcement. For more information, see Enforce VPC encryption in transit in the Amazon VPC User Guide.

SELECT
next_token,
non_compliant_resources
FROM aws.ec2.vpc_resources_blocking_encryption_enforcements
WHERE VpcId = '{{ VpcId }}' -- required
AND region = '{{ region }}' -- required
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND DryRun = '{{ DryRun }}'
;