private async Task DeleteVpc(Vpc vpc)
        {
            _context.Logger.WriteLine($"DeleteVpc: {vpc.CidrBlock} Id: {vpc.VpcId}");

            var request = new DeleteVpcRequest
            {
                VpcId = vpc.VpcId
            };
            await _client.DeleteVpcAsync(request);
        }
示例#2
0
 // cleans all subelements for a vpc, and then the vpc, created during a test
 public async Task deleteTestVpcAsync(Vpc vpc)
 {
     await deleteTestVpcAsync(vpc.VpcId);
 }