amazonka-ec2-1.3.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.CreateNetworkACL

Contents

Description

Creates a network ACL in a VPC. Network ACLs provide an optional layer of security (in addition to security groups) for the instances in your VPC.

For more information about network ACLs, see Network ACLs in the Amazon Virtual Private Cloud User Guide.

See: AWS API Reference for CreateNetworkACL.

Synopsis

Creating a Request

createNetworkACL Source

Creates a value of CreateNetworkACL with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

cnaDryRun :: Lens' CreateNetworkACL (Maybe Bool) Source

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.

Destructuring the Response

createNetworkACLResponse Source

Creates a value of CreateNetworkACLResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

cnarsNetworkACL :: Lens' CreateNetworkACLResponse (Maybe NetworkACL) Source

Information about the network ACL.