AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ModifyAccountVpcEncryptionControl operation. Modifies the account-level VPC Encryption Control configuration. This sets the encryption control mode and resource exclusions that apply to the VPCs in your account. VPC Encryption Control enables you to enforce encryption for all data in transit within and between VPCs to meet compliance requirements.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.ModifyAccountVpcEncryptionControlRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class ModifyAccountVpcEncryptionControlRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The ModifyAccountVpcEncryptionControlRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DryRun System.Nullable<System.Boolean>

Gets and sets the property 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.

Public Property EgressOnlyInternetGateway Amazon.EC2.VpcEncryptionControlExclusionStateInput

Gets and sets the property EgressOnlyInternetGateway.

Specifies whether to exclude egress-only internet gateway resource from account-level encryption enforcement.

Public Property ElasticFileSystem Amazon.EC2.VpcEncryptionControlExclusionStateInput

Gets and sets the property ElasticFileSystem.

Specifies whether to exclude Elastic File System service from account-level encryption enforcement.

Public Property InternetGateway Amazon.EC2.VpcEncryptionControlExclusionStateInput

Gets and sets the property InternetGateway.

Specifies whether to exclude internet gateway resource from account-level encryption enforcement.

Public Property Lambda Amazon.EC2.VpcEncryptionControlExclusionStateInput

Gets and sets the property Lambda.

Specifies whether to exclude Lambda service from account-level encryption enforcement.

Public Property Mode Amazon.EC2.AccountVpcEncryptionControlMode

Gets and sets the property Mode.

The encryption mode for the account encryption control configuration.

Public Property NatGateway Amazon.EC2.VpcEncryptionControlExclusionStateInput

Gets and sets the property NatGateway.

Specifies whether to exclude NAT gateway resource from account-level encryption enforcement.

Public Property VirtualPrivateGateway Amazon.EC2.VpcEncryptionControlExclusionStateInput

Gets and sets the property VirtualPrivateGateway.

Specifies whether to exclude virtual private gateway resource from account-level encryption enforcement.

Public Property VpcLattice Amazon.EC2.VpcEncryptionControlExclusionStateInput

Gets and sets the property VpcLattice.

Specifies whether to exclude VPC Lattice service from account-level encryption enforcement.

Public Property VpcPeering Amazon.EC2.VpcEncryptionControlExclusionStateInput

Gets and sets the property VpcPeering.

Specifies whether to exclude VPC peering connection resource from account-level encryption enforcement.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer