Safe Haskell | None |
---|---|
Language | Haskell2010 |
Enables ingress to a DBSecurityGroup using one of two forms of authorization. First, EC2 or VPC security groups can be added to the DBSecurityGroup if the application using the database is running on EC2 or VPC instances. Second, IP ranges are available if the application accessing your database is running on the Internet. Required parameters for this API are one of CIDR range, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId for non-VPC).
For an overview of CIDR ranges, go to the Wikipedia Tutorial.
http://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_AuthorizeDBSecurityGroupIngress.html
- data AuthorizeDBSecurityGroupIngress
- authorizeDBSecurityGroupIngress :: Text -> AuthorizeDBSecurityGroupIngress
- adbsgiCIDRIP :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text)
- adbsgiDBSecurityGroupName :: Lens' AuthorizeDBSecurityGroupIngress Text
- adbsgiEC2SecurityGroupId :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text)
- adbsgiEC2SecurityGroupName :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text)
- adbsgiEC2SecurityGroupOwnerId :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text)
- data AuthorizeDBSecurityGroupIngressResponse
- authorizeDBSecurityGroupIngressResponse :: AuthorizeDBSecurityGroupIngressResponse
- adbsgirDBSecurityGroup :: Lens' AuthorizeDBSecurityGroupIngressResponse (Maybe DBSecurityGroup)
Request
data AuthorizeDBSecurityGroupIngress Source
Request constructor
authorizeDBSecurityGroupIngress Source
AuthorizeDBSecurityGroupIngress
constructor.
The fields accessible through corresponding lenses are:
Request lenses
adbsgiCIDRIP :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text) Source
The IP range to authorize.
adbsgiDBSecurityGroupName :: Lens' AuthorizeDBSecurityGroupIngress Text Source
The name of the DB security group to add authorization to.
adbsgiEC2SecurityGroupId :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text) Source
Id of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
adbsgiEC2SecurityGroupName :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text) Source
Name of the EC2 security group to authorize. For VPC DB security groups, EC2SecurityGroupId
must be provided. Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
adbsgiEC2SecurityGroupOwnerId :: Lens' AuthorizeDBSecurityGroupIngress (Maybe Text) Source
AWS Account Number of the owner of the EC2 security group specified in the
EC2SecurityGroupName parameter. The AWS Access Key ID is not an acceptable
value. For VPC DB security groups, EC2SecurityGroupId
must be provided.
Otherwise, EC2SecurityGroupOwnerId and either EC2SecurityGroupName
or EC2SecurityGroupId
must be provided.
Response
Response constructor
authorizeDBSecurityGroupIngressResponse :: AuthorizeDBSecurityGroupIngressResponse Source
AuthorizeDBSecurityGroupIngressResponse
constructor.
The fields accessible through corresponding lenses are: