vpc_resources_blocking_encryption_enforcements
Creates, updates, deletes, gets or lists a vpc_resources_blocking_encryption_enforcements resource.
Overview
| Name | vpc_resources_blocking_encryption_enforcements |
| Type | Resource |
| Id | aws.ec2.vpc_resources_blocking_encryption_enforcements |
Fields
The following fields are returned by SELECT queries:
- get_vpc_resources_blocking_encryption_enforcement
| Name | Datatype | Description |
|---|---|---|
next_token | string | The 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_resources | string | Information about resources that are blocking encryption enforcement. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_vpc_resources_blocking_encryption_enforcement | select | VpcId, region | MaxResults, NextToken, DryRun | 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. |
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.
| Name | Datatype | Description |
|---|---|---|
VpcId | string | The ID of the VPC to check for resources blocking encryption enforcement. |
region | string | AWS region (default: us-east-1) |
DryRun | boolean | 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. |
MaxResults | integer | 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. |
NextToken | string | The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request. |
SELECT examples
- get_vpc_resources_blocking_encryption_enforcement
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 }}'
;