code: static void parseProperties( Map<String, String> targetProperties ) throws TargetException {
  
  		// Quick check
  		String[] properties = {
  			Ec2Constants.EC2_ENDPOINT,
  			Ec2Constants.EC2_ACCESS_KEY,
  			Ec2Constants.EC2_SECRET_KEY,
  			Ec2Constants.AMI_VM_NODE,
  			Ec2Constants.VM_INSTANCE_TYPE,
  			Ec2Constants.SSH_KEY_NAME,
  			Ec2Constants.SECURITY_GROUP_NAME
  		};
  
  		for( String property : properties ) {
  			if( StringUtils.isBlank( targetProperties.get( property )))
  				throw new TargetException( "The value for " + property + " cannot be null or empty." );
  		}
  	}
docs: Parses the properties and saves them in a Java bean.
  @param targetProperties the IaaS properties
  @throws TargetException