Class SecurityGroupsTableProvider

  • All Implemented Interfaces:
    TableProvider

    public class SecurityGroupsTableProvider
    extends Object
    implements TableProvider
    Maps your EC2 SecurityGroups to a table.
    • Constructor Detail

      • SecurityGroupsTableProvider

        public SecurityGroupsTableProvider​(software.amazon.awssdk.services.ec2.Ec2Client ec2)
    • Method Detail

      • getSchema

        public String getSchema()
        Description copied from interface: TableProvider
        The schema name (aka database) that this table provider's table belongs to.
        Specified by:
        getSchema in interface TableProvider
        Returns:
        String containing the schema name.
      • getTableName

        public TableName getTableName()
        Description copied from interface: TableProvider
        The fully qualified name of the table represented by this TableProvider.
        Specified by:
        getTableName in interface TableProvider
        Returns:
        The TableName containing the fully qualified name of the Table.
      • readWithConstraint

        public void readWithConstraint​(BlockSpiller spiller,
                                       ReadRecordsRequest recordsRequest,
                                       QueryStatusChecker queryStatusChecker)
        Calls DescribeSecurityGroups on the AWS EC2 Client returning all SecurityGroup rules that match the supplied predicate and attempting to push down certain predicates (namely queries for specific SecurityGroups) to EC2.
        Specified by:
        readWithConstraint in interface TableProvider