예제 #1
0
def get_securities_info(vpc_id, ec2, type):
    securities = security_service.security_groups(ec2, type)
    get_securities_info = securities.describe_ips(vpc_id)

    finish = str(time.perf_counter())
    print('get_securities_info' + finish)
    return get_securities_info
예제 #2
0
def get_securities_info(vpc_id, ec2, type):
    securities = security_service.security_groups(ec2, type)
    get_securities_info = securities.describe_ips(vpc_id)

    return get_securities_info