Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The CreateCacheSecurityGroup action creates a new cache security group. Use a cache security group to control access to one or more cache clusters.
Cache security groups are only used when you are creating a cache cluster outside of an Amazon Virtual Private Cloud (VPC). If you are creating a cache cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup.
See: AWS API Reference for CreateCacheSecurityGroup.
- createCacheSecurityGroup :: Text -> Text -> CreateCacheSecurityGroup
- data CreateCacheSecurityGroup
- ccsgCacheSecurityGroupName :: Lens' CreateCacheSecurityGroup Text
- ccsgDescription :: Lens' CreateCacheSecurityGroup Text
- createCacheSecurityGroupResponse :: Int -> CreateCacheSecurityGroupResponse
- data CreateCacheSecurityGroupResponse
- ccsgrsCacheSecurityGroup :: Lens' CreateCacheSecurityGroupResponse (Maybe CacheSecurityGroup)
- ccsgrsStatus :: Lens' CreateCacheSecurityGroupResponse Int
Creating a Request
createCacheSecurityGroup Source
Creates a value of CreateCacheSecurityGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateCacheSecurityGroup Source
Represents the input of a CreateCacheSecurityGroup action.
See: createCacheSecurityGroup
smart constructor.
Request Lenses
ccsgCacheSecurityGroupName :: Lens' CreateCacheSecurityGroup Text Source
A name for the cache security group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters. Cannot be the word "Default".
Example: mysecuritygroup
ccsgDescription :: Lens' CreateCacheSecurityGroup Text Source
A description for the cache security group.
Destructuring the Response
createCacheSecurityGroupResponse Source
Creates a value of CreateCacheSecurityGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateCacheSecurityGroupResponse Source
See: createCacheSecurityGroupResponse
smart constructor.
Response Lenses
ccsgrsCacheSecurityGroup :: Lens' CreateCacheSecurityGroupResponse (Maybe CacheSecurityGroup) Source
Undocumented member.
ccsgrsStatus :: Lens' CreateCacheSecurityGroupResponse Int Source
The response status code.