@Beta public interface AWSSecurityGroupApi extends SecurityGroupApi
authorizeSecurityGroupIngressInRegion, authorizeSecurityGroupIngressInRegion, createSecurityGroupInRegion, deleteSecurityGroupInRegion, revokeSecurityGroupIngressInRegion, revokeSecurityGroupIngressInRegion
@Named(value="CreateSecurityGroup") @POST @Path(value="/") String createSecurityGroupInRegionAndReturnId(@Nullable String region, @FormParam(value="GroupName") String name, @FormParam(value="GroupDescription") String description, CreateSecurityGroupOptions... options)
@Named(value="AuthorizeSecurityGroupIngress") @POST @Path(value="/") void authorizeSecurityGroupIngressInRegion(@Nullable String region, @FormParam(value="GroupId") String groupId, IpPermission perm)
@Named(value="AuthorizeSecurityGroupIngress") @POST @Path(value="/") void authorizeSecurityGroupIngressInRegion(@Nullable String region, @FormParam(value="GroupId") String groupId, Iterable<IpPermission> perms)
@Named(value="RevokeSecurityGroupIngress") @POST @Path(value="/") void revokeSecurityGroupIngressInRegion(@Nullable String region, @FormParam(value="GroupId") String groupId, IpPermission perm)
@Named(value="RevokeSecurityGroupIngress") @POST @Path(value="/") void revokeSecurityGroupIngressInRegion(@Nullable String region, @FormParam(value="GroupId") String groupId, Iterable<IpPermission> perms)
@Named(value="DeleteSecurityGroup") @POST @Path(value="/") void deleteSecurityGroupInRegionById(@Nullable String region, @FormParam(value="GroupId") String name)
SecurityGroupApi
deleteSecurityGroupInRegionById
in interface SecurityGroupApi
region
- Security groups are not copied across Regions. Instances within the Region cannot
communicate with instances outside the Region using group-based firewall rules.
Traffic from instances in another Region is seen as WAN bandwidth.name
- ID of the security group to delete.#describeSecurityGroups
,
#authorizeSecurityGroupIngress
,
#revokeSecurityGroupIngress
,
#createSecurityGroup
,
@Named(value="DescribeSecurityGroups") @POST @Path(value="/") Set<SecurityGroup> describeSecurityGroupsInRegionById(@Nullable String region, String... securityGroupNames)
@Named(value="DescribeSecurityGroups") @POST @Path(value="/") Set<SecurityGroup> describeSecurityGroupsInRegion(@Nullable String region, String... securityGroupNames)
SecurityGroupApi
NOTE Works with groups in default VPC only
describeSecurityGroupsInRegion
in interface SecurityGroupApi
region
- Security groups are not copied across Regions. Instances within the Region cannot
communicate with instances outside the Region using group-based firewall rules.
Traffic from instances in another Region is seen as WAN bandwidth.securityGroupNames
- Name of the security groups#createSecurityGroup
,
#authorizeSecurityGroupIngress
,
#revokeSecurityGroupIngress
,
#deleteSecurityGroup
,
@Named(value="DescribeSecurityGroups") @POST @Path(value="/") Set<SecurityGroup> describeSecurityGroupsInRegion(@Nullable String region)
@Named(value="DescribeSecurityGroups") @POST @Path(value="/") Set<SecurityGroup> describeSecurityGroupsInRegionWithFilter(@Nullable String region, com.google.common.collect.Multimap<String,String> filter)
SecurityGroupApi
describeSecurityGroupsInRegionWithFilter
in interface SecurityGroupApi
region
- Security groups are not copied across Regions. Instances within the Region cannot
communicate with instances outside the Region using group-based firewall rules.
Traffic from instances in another Region is seen as WAN bandwidth.filter
- Multimap of filter key/values.#createSecurityGroup
,
#authorizeSecurityGroupIngress
,
#revokeSecurityGroupIngress
,
#deleteSecurityGroup
,
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.