Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Creates a new cache security group. Use a cache security group to control access to one or more clusters.
Cache security groups are only used when you are creating a cluster outside of an Amazon Virtual Private Cloud (Amazon VPC). If you are creating a cluster inside of a VPC, use a cache subnet group instead. For more information, see CreateCacheSubnetGroup .
- createCacheSecurityGroup :: Text -> Text -> CreateCacheSecurityGroup
- data CreateCacheSecurityGroup
- ccsgCacheSecurityGroupName :: Lens' CreateCacheSecurityGroup Text
- ccsgDescription :: Lens' CreateCacheSecurityGroup Text
- createCacheSecurityGroupResponse :: Int -> CreateCacheSecurityGroupResponse
- data CreateCacheSecurityGroupResponse
- ccsgrsCacheSecurityGroup :: Lens' CreateCacheSecurityGroupResponse (Maybe CacheSecurityGroup)
- ccsgrsResponseStatus :: 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:
ccsgCacheSecurityGroupName
- 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
- A description for the cache security group.
data CreateCacheSecurityGroup Source #
Represents the input of a CreateCacheSecurityGroup
operation.
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:
ccsgrsCacheSecurityGroup
- Undocumented member.ccsgrsResponseStatus
- -- | The response status code.
data CreateCacheSecurityGroupResponse Source #
See: createCacheSecurityGroupResponse
smart constructor.
Response Lenses
ccsgrsCacheSecurityGroup :: Lens' CreateCacheSecurityGroupResponse (Maybe CacheSecurityGroup) Source #
Undocumented member.
ccsgrsResponseStatus :: Lens' CreateCacheSecurityGroupResponse Int Source #
- - | The response status code.