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¶
-
DryRunChecks 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 isUnauthorizedOperation. -
FiltersThe filters to apply to the request.
-
VpcEncryptionControlIdsThe IDs of the VPC Encryption Control configurations to describe.
-
VpcIdsThe IDs of the VPCs to describe encryption control configurations for.
-
NextTokenThe token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
-
MaxResultsThe 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"
)