public interface SecurityGroupApi
SecurityGroupAsyncApi
Modifier and Type | Method and Description |
---|---|
SecurityGroup |
authorizeIngressToEC2SecurityGroupOfOwner(String name,
String ec2SecurityGroupName,
String ec2SecurityGroupOwnerId)
Enables ingress to a DBSecurityGroup if the application using the database is running on EC2
instances.
|
SecurityGroup |
authorizeIngressToIPRange(String name,
String CIDR)
Enables ingress to a DBSecurityGroup to an IP range, if the application accessing your
database is running on the Internet.
|
SecurityGroup |
authorizeIngressToVPCSecurityGroup(String name,
String vpcSecurityGroupId)
Enables ingress to a DBSecurityGroup if the application using the database is running on VPC
instances.
|
SecurityGroup |
createInVPCWithNameAndDescription(String vpcId,
String name,
String description)
Creates a new DB Security Group.
|
SecurityGroup |
createWithNameAndDescription(String name,
String description)
Creates a new DB Security Group.
|
void |
delete(String name)
Deletes a DB security group.
|
SecurityGroup |
get(String name)
Retrieves information about the specified
SecurityGroup . |
PagedIterable<SecurityGroup> |
list()
Returns a list of
SecurityGroup s. |
IterableWithMarker<SecurityGroup> |
list(ListSecurityGroupsOptions options)
Returns a list of
SecurityGroup s. |
SecurityGroup |
revokeIngressFromEC2SecurityGroupOfOwner(String name,
String ec2SecurityGroupName,
String ec2SecurityGroupOwnerId)
Revokes ingress from a DBSecurityGroup for previously authorized EC2 Security Group.
|
SecurityGroup |
revokeIngressFromIPRange(String name,
String CIDR)
Revokes ingress from a DBSecurityGroup for previously authorized IP range.
|
SecurityGroup |
revokeIngressFromVPCSecurityGroup(String name,
String vpcSecurityGroupId)
Revokes ingress from a DBSecurityGroup for previously authorized VPC Security Group.
|
SecurityGroup createWithNameAndDescription(String name, String description)
name
- The name for the DB Security Group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must
not be "Default".description
- The description for the DB Security Group.SecurityGroup createInVPCWithNameAndDescription(String vpcId, String name, String description)
vpcId
- The Id of VPC. Indicates which VPC this DB Security Group should belong to. Must be
specified to create a DB Security Group for a VPC; may not be specified otherwise.name
- The name for the DB Security Group. This value is stored as a lowercase string.
Constraints: Must contain no more than 255 alphanumeric characters or hyphens. Must
not be "Default".description
- The description for the DB Security Group.@Nullable SecurityGroup get(String name)
SecurityGroup
.name
- Name of the security group to get information about.IterableWithMarker<SecurityGroup> list(ListSecurityGroupsOptions options)
options
- the options describing the security groups queryPagedIterable<SecurityGroup> list()
SecurityGroup
s.SecurityGroup authorizeIngressToIPRange(String name, String CIDR)
name
- The name of the DB Security Group to add authorization to.CIDR
- The IP range to authorize.SecurityGroup authorizeIngressToEC2SecurityGroupOfOwner(String name, String ec2SecurityGroupName, String ec2SecurityGroupOwnerId)
name
- The name of the DB Security Group to add authorization to.ec2SecurityGroupName
- Name of the EC2 Security Group to authorize.ec2SecurityGroupOwnerId
- 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.SecurityGroup authorizeIngressToVPCSecurityGroup(String name, String vpcSecurityGroupId)
name
- The name of the DB Security Group to add authorization to.vpcSecurityGroupId
- Id of the EC2 Security Group to authorize.SecurityGroup revokeIngressFromIPRange(String name, String CIDR)
name
- The name of the DB Security Group to revoke ingress from.CIDR
- The IP range to revoke.SecurityGroup revokeIngressFromEC2SecurityGroupOfOwner(String name, String ec2SecurityGroupName, String ec2SecurityGroupOwnerId)
name
- The name of the DB Security Group to revoke ingress from.ec2SecurityGroupName
- Name of the EC2 Security Group to revoke.ec2SecurityGroupOwnerId
- 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.SecurityGroup revokeIngressFromVPCSecurityGroup(String name, String vpcSecurityGroupId)
name
- The name of the DB Security Group to revoke ingress from.vpcSecurityGroupId
- Id of the EC2 Security Group to revoke.void delete(String name)
name
- The name of the database security group to delete.
Copyright © 2009-2013 jclouds. All Rights Reserved.